![]() ![]() ![]() ![]() ![]() ![]() |
The Oracle Tuxedo JCA Adapter構成ファイルはXMLベースのテキスト・ファイルです。構成ファイルの名前と場所は、ra.xml
ファイルのdmconfig
構成プロパティに含まれています。
詳細は、 『Oracle Tuxedo JCA Adapterユーザーズ・ガイド』を参照してください。
リスト1に、Oracle Tuxedo JCA Adapter構成ファイルのXMLスキーマを示します。
<?xml version="1.0" encoding="UTF-8" ?>
<xsd:schema
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="TuxedoConnector" type="TuxedoConnectorType"/>
<xsd:complexType name="TuxedoConnectorType">
<xsd:annotation>
<xsd:documentation>Tuxedo JCA Adapter configuration body</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="Resources" maxOccurs="1" type="ResourcesType"
minOccurs="0" nillable="true" />
<xsd:element name="LocalAccessPoint" maxOccurs="unbounded" type="LocalAccessPointType"
minOccurs="0" nillable="false" />
<xsd:element name="RemoteAccessPoint" maxOccurs="unbounded" type="RemoteAccessPointType"
minOccurs="0" nillable="true" />
<xsd:element name="SessionProfile" maxOccurs="unbounded" type="SessionProfileType"
minOccurs="0" nillable="true" />
<xsd:element name="Session" maxOccurs="unbounded" type="SessionType"
minOccurs="0" nillable="true" />
<xsd:element name="Import" maxOccurs="unbounded" type="ImportType"
minOccurs="0" nillable="true" />
<xsd:element name="Export" maxOccurs="unbounded" type="ExportType"
minOccurs="0" nillable="true" />
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ResourcesType">
<xsd:annotation>
<xsd:documentation>Global resources for a Tuxedo JCA Adapter</xsd:documentation>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="FieldTable16Classes" maxOccurs="unbounded" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The name of Field Table 16 class for FML
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="FieldTable32Classes" maxOccurs="unbounded" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The name of Field Table 32 class for FML32
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ViewFile16Classes" maxOccurs="unbounded" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The name of VIEW Table 16 class for VIEW
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ViewFile32Classes" maxOccurs="unbounded" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The name of VIEW Table 32 class for VIEW
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ApplicationPasswordEncrypted" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The application password for joining Tuxedo application
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TpusrFile" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The TPUSR file used for identity propagation
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RemoteMBEncoding" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The MB encoding used by Tuxedo application
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="MBEncodingMapFile" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The MB encoding names map file.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="LocalAccessPointType">
<xsd:sequence>
<xsd:element name="AccessPointId" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="false">
<xsd:annotation>
<xsd:documentation>
The identification of a local access point.
Used by default as connection principal name. It has to
be globally unique. If not specified then the value
of "name" attribute will be used.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="NetworkAddress" maxOccurs="unbounded" type="xsd:string"
minOccurs="1" nillable="false">
<xsd:annotation>
<xsd:documentation>
The local access point listening address
including both host address and port number. specify
the TCP/IP address in the formant //hostname:portnumber
or //#.#.#.#:port_number.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SSLInfo" maxOccurs="1" type="SSLInfoType"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The SSL configuration information.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="RemoteAccessPointType">
<xsd:sequence>
<xsd:element name="AccessPointId" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="false">
<xsd:annotation>
<xsd:documentation>
The identification of a remote access point.
Used by default as connection principal name.
It has to be globally unique.
If not specified then the value of "name" attribute will be used.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="NetworkAddress" maxOccurs="unbounded" type="xsd:string"
minOccurs="1" nillable="false">
<xsd:annotation>
<xsd:documentation>
The network address and port number of this remote Tuxedo
access point. Specify the TCP/IP address in the format
//hostname:port_number or //#.#.#.#:port_number.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TpusrFile" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The TPUSR file for this remote Tuxedo access point.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="AllowAnonymous" maxOccurs="1" type="xsd:boolean"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
Indicate whether the remote Tuxedo access point allow
anonymous access or not.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="DefaultApplicationKey" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The default application key value for this remote Tuxedo
access point. If not specified then "-1" assumed.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="CustomApplicationKey" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The type of application key generator name.
</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:all>
<xsd:element name="ApplicationKeyClass" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The application key generateor class name.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ApplicationKeyClassParam" type="xsd:string">
<xsd:annotation>
<xsd:documentation>
The parameter string passed to application key generator
when the class is initialized at runtime.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="SessionProfileType">
<xsd:sequence>
<xsd:element name="Security" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The type of Tuxedo application security enforced by
the remote Tuxedo domain. If not specified then "NONE" is assumed.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="NONE" />
<xsd:enumeration value="APP_PW" />
<xsd:enumeration value="DM_PW" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="BlockTime" maxOccurs="1"
minOccurs="0" nillable="false" default="60">
<xsd:annotation>
<xsd:documentation>
The maximum number of milliseconds allows for a blocking call
for outbound request using this session profile.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="2147483647000" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Interoperate" maxOccurs="1" type="xsd:boolean"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
Specifies whether this local access point interoperates with
remote Tuxedo application domain that are based upon
Tuxedo release 6.5. If this value is set to YEs,
the local access point interoperates with Tuxedo 6.5 domain.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ConnectionPolicy" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The condition under which this /Domain session is established.
If not specified then ON_DEMAND is assumed.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="ON_DEMAND" />
<xsd:enumeration value="ON_STARTUP" />
<xsd:enumeration value="INCOMING_ONLY" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="ACLPolicy" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The ACL policy to be enforced on this /Domain session.
The default value is Local.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="local" />
<xsd:enumeration value="global" />
<xsd:enumeration value="Local" />
<xsd:enumeration value="Global" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CredentialPolicy" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The credential propagation policy. The default value is Local.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="local" />
<xsd:enumeration value="global" />
<xsd:enumeration value="Local" />
<xsd:enumeration value="Global" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="RetryInterval" maxOccurs="1"
minOccurs="0" nillable="false" default="60">
<xsd:annotation>
<xsd:documentation>
The number of seconds that this session wait between automatic
connection establishment attempt.
Use this value only when ConnectionPolicy is set to ON_STARTUP.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="2147483647" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="MaxRetries" maxOccurs="1"
minOccurs="0" nillable="false" default="9223372036854775807">
<xsd:annotation>
<xsd:documentation>
The maximum number of times tht this session tries to establish
a session connection to remote Tuxedo access points.
Use this value only when connection policy is set to ON_STARTUP
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="9223372036854775807" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="CompressionLimit" maxOccurs="1"
minOccurs="0" nillable="false" default="2147483647">
<xsd:annotation>
<xsd:documentation>
Thye compression threshold this session uses when sending data to
a remote Tuxedo access point. Application buffers larger than
this size are compressed.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:int">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="2147483647" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="MinEncryptBits" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The minimum encryption key length (in bits) this session use
when establish a session connection. A value of 0 indicates no
encryption is used. Key strength of 256 bits is for SSL support only.
Default value is 0.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="0" />
<xsd:enumeration value="40" />
<xsd:enumeration value="56" />
<xsd:enumeration value="128" />
<xsd:enumeration value="256" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="MaxEncryptBits" maxOccurs="1"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The maximum encryption key length (in bits) this session uses
when establish a session connection. A value of 0 indicates no
encryption is used. Key strength of 256 bits is for SSL support only.
Default value is 128.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="0" />
<xsd:enumeration value="40" />
<xsd:enumeration value="56" />
<xsd:enumeration value="128" />
<xsd:enumeration value="256" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="KeepAlive" maxOccurs="1"
minOccurs="0" nillable="false" default="0">
<xsd:annotation>
<xsd:documentation>
Specifies whether this /Domain session is configured with Application
Level Keep Alive, and its maximum idle time before wait timer
start ticking.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="2147483647" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="KeepAliveWait" maxOccurs="1"
minOccurs="0" nillable="false" default="0">
<xsd:annotation>
<xsd:documentation>
Value that tells whether this session requires the acknowledgement
of Application Level Keep Alive, and how long it will wait
without receiving acknowldegement before declare the connection
is inaccessable.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:long">
<xsd:minInclusive value="0" />
<xsd:maxInclusive value="2147483647" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="SessionType">
<xsd:sequence>
<xsd:element name="LocalAccessPointName" maxOccurs="1" type="xsd:string"
minOccurs="1" nillable="false">
<xsd:annotation>
<xsd:documentation>
The local access point name to construct a /Domain session.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RemoteAccessPointName" maxOccurs="1" type="xsd:string"
minOccurs="1" nillable="false">
<xsd:annotation>
<xsd:documentation>
The remote access point name to construct a /Domain session.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ProfileName" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="false">
<xsd:annotation>
<xsd:documentation>
The profile used by this /Domain session.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PasswordPair" maxOccurs="2" type="PasswordType"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The password pair for SECURITY=DM_PWD to establish connection.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="ImportType">
<xsd:sequence>
<xsd:element name="RemoteName" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The exported remote Tuxedo name, if not specified then it will
have the same value as name attribute.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SessionName" maxOccurs="unbounded" type="xsd:string"
minOccurs="1" nillable="false">
<xsd:annotation>
<xsd:documentation>
The comma separated list of session that import this resource.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="LoadBalancing" maxOccurs="1"
minOccurs="0" nillable="false" default="RoundRobin">
<xsd:annotation>
<xsd:documentation>
The load balance algorithm used by this imported resource.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="RoundRobin" />
<xsd:enumeration value="Random" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
<xsd:attribute name="autotran" type="xsd:boolean" />
<xsd:attribute name="trantime" type="xsd:integer" />
</xsd:complexType>
<xsd:complexType name="ExportType">
<xsd:sequence>
<xsd:element name="RemoteName" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The resource name Tuxedo used to access AS. If not specified then
take the same value as "name" attribute.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SessionName" maxOccurs="unbounded" type="xsd:string"
minOccurs="1" nillable="true">
<xsd:annotation>
<xsd:documentation>
The list of sessions that allow access to this resource.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="Type" maxOccurs="1"
minOccurs="0" nillable="false" default="EJB">
<xsd:annotation>
<xsd:documentation>
Type of service or resource.
</xsd:documentation>
</xsd:annotation>
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="EJB" />
<xsd:enumeration value="POJO" />
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="Source" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The class to be invoked by Tuxedo JCA Connector
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="SourceLocation" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The JAR file name of the source class. This is required for POJO.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="PasswordType">
<xsd:sequence>
<xsd:element name="LocalPasswordEncrypted" maxOccurs="1"
type="xsd:string"
minOccurs="1" nillable="false">
<xsd:annotation>
<xsd:documentation>
The encrypted local password.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="RemotePasswordEncrypted" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The encrypted remote password.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="ActivationTime" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The dateTime string for indicating when this password pair will
start to become effective. If not specified than it is assume
already become effective. The format is yyyy:mm:dd:hh:mm:ss.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="DeactivationTime" maxOccurs="1" type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The dateTime string for indicating when this password pair will
become obsolete. If not specified then it has no expiration time.
The format is yyyy:mm:dd:hh:mm:ss.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="SSLInfoType">
<xsd:annotation>
<xsd:documentation>
For SSL information. One element stating whether using SSL or not. The rest
</xsd:documentation>
</xsd:annotation>
<xsd:all>
<xsd:element name="MutualAuthenticationRequired" maxOccurs="1"
type="xsd:boolean"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
Indicate whether the mutual authentication is required
on SSL connection
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="IdentityKeyStoreFileName" type="xsd:string"
nillable="false">
<xsd:annotation>
<xsd:documentation>
The full path name of the identity key store file name.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="IdentityKeyStorePassPhraseEncrypted" maxOccurs="1"
type="xsd:string"
minOccurs="0" nillable="true">
<xsd:annotation>
<xsd:documentation>
The encrypted identity key store pass phrase.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PrivateKeyAlias" type="xsd:string" nillable="false">
<xsd:annotation>
<xsd:documentation>
The alias in the identity key store to be used to retrieve private key.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="PrivateKeyPassPhraseEncrypted" type="xsd:string"
nillable="false">
<xsd:annotation>
<xsd:documentation>
The encrypted password used for decrypt the private key
pass phrase in the identity key store.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TrustKeyStoreFileName" type="xsd:string"
nillable="false">
<xsd:annotation>
<xsd:documentation>
The full path name of trust key store file name.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="TrustKeyStorePassPhraseEncrypted" type="xsd:string"
nillable="false">
<xsd:annotation>
<xsd:documentation>
The encrypted passphrase to be used when retriving certificate
from trust key store.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
</xsd:all>
</xsd:complexType>
</xsd:schema>
![]() ![]() ![]() |