Difference between revisions of "JNDIHelper"

From GreenVulcano Wiki
Jump to: navigation, search
Line 16: Line 16:
  
 
* [[Description]]
 
* [[Description]]
* Advanced: with the attributes
+
* [[#Advanced|Advanced]]
 +
* [[#Extended|Extended]]
 +
 
 +
===Advanced===
 +
 
 +
The following table shows the Advanced element's attributes:
 
{|class="gvtable"
 
{|class="gvtable"
 
! Attribute !! Type !! Description
 
! Attribute !! Type !! Description
 
|-
 
|-
| object-factories || optional || The attribute's value can't be null.
+
| object-factories || optional || The attribute's value cannot be null.
 
|-
 
|-
| state-factories || optional || The attribute's value can't be null.
+
| state-factories || optional || The attribute's value cannot be null.
 
|-
 
|-
| url-pkg-prefixes || optional || The attribute's value can't be null.
+
| url-pkg-prefixes || optional || The attribute's value cannot be null.
 
|-
 
|-
| dns-url || optional || The attribute's value can't be null.
+
| dns-url || optional || The attribute's value cannot be null.
 
|-
 
|-
| authoritative || optional || The attribute's value can't be null.
+
| authoritative || optional || The attribute's value cannot be null.
 
|-
 
|-
| batchsize|| optional || The attribute's value can't be null.
+
| batchsize|| optional || The attribute's value cannot be null.
 
|-
 
|-
| referral || optional || The attribute's value can't be null.
+
| referral || optional || The attribute's value cannot be null.
 
|-
 
|-
| security-protocol || optional || The attribute's value can't be null.
+
| security-protocol || optional || The attribute's value cannot be null.
 
|-
 
|-
| security-authentication || optional || The attribute's value can't be null.
+
| security-authentication || optional || The attribute's value cannot be null.
 
|-
 
|-
| language || optional || The attribute's value can't be null.
+
| language || optional || The attribute's value cannot be null.
 
|}
 
|}
* Extended: with its attributes
+
 
 +
===Extended===
 +
 
 +
The following table shows the Extended element's attributes:
 
{|class="gvtable"
 
{|class="gvtable"
 
! Attribute !! Type !! Description
 
! Attribute !! Type !! Description
 
|-
 
|-
| name      || required || The attribute's value can't be null.
+
| name      || required || The attribute's value cannot be null.
 
|-
 
|-
| value    || required || The attribute's value can't be null.
+
| value    || required || The attribute's value cannot be null.
 
|}
 
|}

Revision as of 17:02, 21 March 2012

The JNDIHelper Element is used by DataSourceConnection (see DBOperations), j2ee-ejb-call, j2ee-jca-call, jms-dequeue, jms-enqueue, pop-call, ServiceCallerTask, smtp-call and XAHelper. It has the following 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 subelements:

Advanced

The following table shows the Advanced element's 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.