Difference between revisions of "JNDIHelper"

From GreenVulcano Wiki
Jump to: navigation, search
 
(16 intermediate revisions by one other user not shown)
Line 1: Line 1:
The JNDIHelper Element is used by: [[DataSourceConnection]], [[j2ee-ejb-call]], [[j2ee-jca-call]], [[jms-dequeue]], [[jms-enqueue]], [[pop-call]], [[ServiceCallerTask]], [[smtp-call]] and [[XAHelper]]. It has the following attributes:
+
=={{GVESB}} Configuration==
  
* ''initial-context-factory'': Initial context factory for the JNDI tree containing connection-factory and the destination-name. <br/> Where {{GVESB}} and the server to contact are installed on the application server of the same type, you may leave this parameter unspecified. <br/> Where the application servers are rather different, as well as configure the initial context factory, make sure also that are present in the classpath the classes necessary to connect remote application server.
+
The JNDIHelper Element is used by:
* ''provider-url'': Application server connection URL. Refer to your application server documentation for the configuration of this parameter <br/> If the JNDI Context to be created refers to the current application server you can leave this parameter unspecified.
+
* [[DBOperations#DataSourceConnection|DataSourceConnection]]
* ''security-principal'': Username used to connect the application server. If security is not enabled, you can leave unspecified this parameter.
+
* [[GVJDBCConnectionBuilder#DataSourceConnectionBuilder|DataSourceConnectionBuilder]]
* ''security-credentials'': Password to connect the application server. <br/>If security is not enabled, you can leave unspecified this parameter.
+
* [[j2ee-ejb-call]]
 +
* [[j2ee-jca-call]]
 +
* [[jms-dequeue]]
 +
* [[jms-enqueue]]
 +
* [[pop-call]]
 +
* [[smtp-call]]
 +
* [[GVConnectorConfiguration#UserTransaction|UserTransaction]]
 +
* [[Jms-dequeue#XAHelper|XAHelper]]
 +
 
 +
The following table shows its attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| initial-context-factory || optional || Initial context factory for the JNDI tree containing connection-factory and the destination-name. <br/> Where {{GVESB}} and the server to contact are installed on the application server of the same type, you may leave this parameter unspecified. <br/> Where the application servers are rather different, as well as configure the initial context factory, make sure also that are present in the classpath the classes necessary to connect remote application server.
 +
|-
 +
| provider-url || optional || Application server connection URL. Refer to your application server documentation for the configuration of this parameter <br/> If the JNDI Context to be created refers to the current application server you can leave this parameter unspecified.
 +
|-
 +
| security-principal || optional || Username used to connect the application server. If security is not enabled, you can leave unspecified this parameter.
 +
|-
 +
| security-credentials || optional || Password to connect the application server. <br/>If security is not enabled, you can leave unspecified this parameter.
 +
|}
 +
 
 +
and the sub-elements:
 +
 
 +
* [[Description]]
 +
* [[#Advanced|Advanced]]
 +
* [[#Extended|Extended]]
 +
 
 +
<div class="version_ge3.3">
 +
Properties can contains [[placeholders]], but can't references GVBuffer fields.
 +
</div>
 +
 
 +
===Advanced===
 +
 
 +
The Advanced Element is used by [[JNDIHelper]] and [[Ldap-search-call#LDAPContext|LDAPContext]].
 +
 
 +
The following table shows its attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| object-factories || optional || The attribute's value cannot be null.
 +
|-
 +
| state-factories || optional || The attribute's value cannot be null.
 +
|-
 +
| url-pkg-prefixes || optional || The attribute's value cannot be null.
 +
|-
 +
| dns-url || optional || The attribute's value cannot be null.
 +
|-
 +
| authoritative || optional || The attribute's value cannot be null.
 +
|-
 +
| batchsize|| optional || The attribute's value cannot be null.
 +
|-
 +
| referral || optional || The attribute's value cannot be null.
 +
|-
 +
| security-protocol || optional || The attribute's value cannot be null.
 +
|-
 +
| security-authentication || optional || The attribute's value cannot be null.
 +
|-
 +
| language || optional || The attribute's value cannot be null.
 +
|}
 +
 
 +
===Extended===
 +
 
 +
The following table shows the Extended element's attributes:
 +
{|class="gvtable"
 +
! Attribute !! Type !! Description
 +
|-
 +
| name      || required || The attribute's value cannot be null.
 +
|-
 +
| value    || required || The attribute's value cannot be null.
 +
|}
 +
 
 +
 
 +
{{VOTE}}

Latest revision as of 15:54, 4 March 2013

GreenVulcano® ESB Configuration

The JNDIHelper Element is used by:

The following table shows its attributes:

Attribute Type Description
initial-context-factory optional Initial context factory for the JNDI tree containing connection-factory and the destination-name.
Where GreenVulcano® ESB and the server to contact are installed on the application server of the same type, you may leave this parameter unspecified.
Where the application servers are rather different, as well as configure the initial context factory, make sure also that are present in the classpath the classes necessary to connect remote application server.
provider-url optional Application server connection URL. Refer to your application server documentation for the configuration of this parameter
If the JNDI Context to be created refers to the current application server you can leave this parameter unspecified.
security-principal optional Username used to connect the application server. If security is not enabled, you can leave unspecified this parameter.
security-credentials optional Password to connect the application server.
If security is not enabled, you can leave unspecified this parameter.

and the sub-elements:

Properties can contains placeholders, but can't references GVBuffer fields.

Advanced

The Advanced Element is used by JNDIHelper and LDAPContext.

The following table shows its attributes:

Attribute Type Description
object-factories optional The attribute's value cannot be null.
state-factories optional The attribute's value cannot be null.
url-pkg-prefixes optional The attribute's value cannot be null.
dns-url optional The attribute's value cannot be null.
authoritative optional The attribute's value cannot be null.
batchsize optional The attribute's value cannot be null.
referral optional The attribute's value cannot be null.
security-protocol optional The attribute's value cannot be null.
security-authentication optional The attribute's value cannot be null.
language optional The attribute's value cannot be null.

Extended

The following table shows the Extended element's attributes:

Attribute Type Description
name required The attribute's value cannot be null.
value required The attribute's value cannot be null.


{{#w4grb_rate:}} <w4grb_ratinglist latestvotes items="5" nosort/>