|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.stc.connector.oracleappsadapter.OracleappsXAManagedConnectionFactoryExt
Factory for Oracleapps XA Managed Connection.
Constructor Summary | |
OracleappsXAManagedConnectionFactoryExt()
Creates a new instance of OracleappsXAManagedConnectionFactoryExt |
Method Summary | |
java.lang.Object |
createConnectionFactory()
Create an OracleappsAppicationConnectionFactory instance. |
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
Create an OracleappsAppicationConnectionFactory instance. |
javax.resource.spi.ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
Creates a new physical connection to the underlying EIS resource manager, ManagedConnectionFactory uses the security information (passed as Subject) and additional ConnectionRequestInfo (which is specific to ResourceAdapter and opaque to application server) to create this new connection. |
void |
createMBean(java.lang.String mbeanClassName,
java.lang.String mbeanName)
Creates the MBean |
java.lang.String |
getConfigurationInstance()
Gets the value of the ConfigurationInstance property. |
com.stc.configuration.IConfiguration |
getConfigurationModel()
Gets the configuration model for the instance of the ManagedConnectionFactory. |
java.lang.String |
getConfigurationTemplate()
Gets the value of the ConfigurationTemplate property. |
java.lang.String |
getEwayManagedConnectionMBeanClass()
Gets the value of the EwayMCFMBeanClass property. |
java.lang.String |
getEwayMCFMBeanClass()
Gets the value of the EwayMCFMBeanClass property. |
java.lang.String |
getEwayMCFMBeanName()
Gets the value of the EwayMCFMBeanName property. |
java.lang.Object |
getMBean()
Get method for ManagedConnectionFactory's MBean |
javax.resource.spi.ManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequestInfo)
Returns a matched connection from the candidate set of connections. |
void |
setConfigurationInstance(java.lang.String configInstance)
Sets the value of the ConfigurationInstance property. |
void |
setConfigurationTemplate(java.lang.String configTemplate)
Sets the value of the ConfigurationTemplate property. |
void |
setEwayManagedConnectionMBeanClass(java.lang.String className)
Sets the value of the EwayManagedConnMBeanClass property. |
void |
setEwayMCFMBeanClass(java.lang.String className)
Sets the value of the EwayMCFMBeanClass property. |
void |
setEwayMCFMBeanName(java.lang.String mbeanName)
Sets the value of the EwayMCFMBeanName property. |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter)
Associate this ManagedConnectionFactory JavaBean with a ResourceAdapter JavaBean. |
Constructor Detail |
public OracleappsXAManagedConnectionFactoryExt()
Method Detail |
public java.lang.Object createConnectionFactory() throws javax.resource.ResourceException
ResourceException
- An exception from the
Resource Adapter.public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) throws javax.resource.ResourceException
cxManager
- a Connection Manager instance.ResourceException
- An exception from the
Resource Adapter.public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
subject
- The Subject provided by the container which may contain
credentials for authenticating to the EIS.cxRequestInfo
- The ConnectionRequestInfo containing information
which can be used for creating the EIS connection.ResourceException
- upon error.public void createMBean(java.lang.String mbeanClassName, java.lang.String mbeanName) throws com.stc.connector.management.STCCreateMBeanException
mbeanClassName
- classname of MBean impl classmbeanName
- name of MBeanvoid
- None.
public java.lang.String getConfigurationInstance()
public com.stc.configuration.IConfiguration getConfigurationModel() throws java.lang.Exception
java.lang.Exception
- upon error.public java.lang.String getConfigurationTemplate()
public java.lang.String getEwayManagedConnectionMBeanClass()
public java.lang.String getEwayMCFMBeanClass()
public java.lang.String getEwayMCFMBeanName()
public java.lang.Object getMBean()
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
connectionSet
- The candidate connection set.subject
- The Subject provided by the container which may contain
credentials for authenticating to the EIS.cxRequestInfo
- The ConnectionRequestInfo containing information
which can be used for creating the EIS connection.ResourceException
- upon error.public void setConfigurationInstance(java.lang.String configInstance) throws java.beans.PropertyVetoException, java.io.UnsupportedEncodingException
configInstance
- String containing the value to be assigned to
ConfigurationInstance.void
- None.java.beans.PropertyVetoException
- error firing veto-able property
changepublic void setConfigurationTemplate(java.lang.String configTemplate) throws java.beans.PropertyVetoException
configTemplate
- String containing the value to be assigned to
ConfigurationTemplate.void
- None.java.beans.PropertyVetoException
- error firing veto-able property
changepublic void setEwayManagedConnectionMBeanClass(java.lang.String className) throws java.lang.Exception
className
- String containing the value to be assigned to
EwayManagedConnMBeanClass.void
- None.java.lang.Exception
- upon error.public void setEwayMCFMBeanClass(java.lang.String className) throws java.lang.Exception
className
- String containing the value to be assigned to
EwayMCFMBeanClass.void
- None.java.lang.Exception
- upon error.public void setEwayMCFMBeanName(java.lang.String mbeanName) throws java.lang.Exception
className
- String containing the value to be assigned to
EwayMCFMBeanName.void
- None.java.lang.Exception
- upon error.public void setResourceAdapter(javax.resource.spi.ResourceAdapter resourceAdapter) throws javax.resource.ResourceException
resourceAdapter
- The ResourceAdapter JavaBean.void
- None.ResourceException
- upon error.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2004 by SeeBeyond Technology Corporation. All Rights Reserved.