org.apache.cxf.jca.cxf
Class ManagedConnectionFactoryImpl

java.lang.Object
  extended by org.apache.cxf.jca.core.resourceadapter.ResourceBean
      extended by org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
          extended by org.apache.cxf.jca.cxf.ManagedConnectionFactoryImpl
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ManagedConnectionFactory, CXFManagedConnectionFactory
Direct Known Subclasses:
AssociatedManagedConnectionFactoryImpl

public class ManagedConnectionFactoryImpl
extends AbstractManagedConnectionFactoryImpl
implements CXFManagedConnectionFactory

See Also:
Serialized Form

Field Summary
protected  JCABusFactory jcaBusFactory
           
 
Fields inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
CONFIG_DOMAIN, CONFIG_SCOPE, DEFAULT_MONITOR_POLL_INTERVAL, DEFAULT_VALUE_STRING, EJB_SERVANT_BASE_URL, EJB_SERVICE_PROPERTIES_URL, LOG_LEVEL, MONITOR_EJB_SERVICE_PROPERTIES, MONITOR_POLL_INTERVAL
 
Constructor Summary
ManagedConnectionFactoryImpl()
           
ManagedConnectionFactoryImpl(java.util.Properties props)
           
 
Method Summary
 void close()
           
 java.lang.Object createConnectionFactory()
           
 java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
           
 javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connReqInfo)
           
protected  java.lang.Object getBootstrapContext()
           
 Bus getBus()
           
 java.lang.String getConfigurationDomain()
          Deprecated. 
 java.lang.String getConfigurationScope()
          Deprecated. 
 java.lang.String getEJBServantBaseURL()
           
 java.lang.Integer getEJBServicePropertiesPollInterval()
           
 java.lang.String getEJBServicePropertiesURL()
           
 java.net.URL getEJBServicePropertiesURLInstance()
           
 java.lang.String getLogLevel()
           
 java.lang.Boolean getMonitorEJBServiceProperties()
           
protected  void init(java.lang.ClassLoader appserverClassLoader)
           
 void setConfigurationDomain(java.lang.String name)
          Deprecated. 
 void setConfigurationScope(java.lang.String name)
          Deprecated. 
 void setEJBServantBaseURL(java.lang.String url)
           
 void setEJBServicePropertiesPollInterval(java.lang.Integer pollInterval)
           
 void setEJBServicePropertiesURL(java.lang.String name)
           
 void setLogLevel(java.lang.String logLevel)
           
 void setMonitorEJBServiceProperties(java.lang.Boolean monitor)
           
protected  void validateReference(AbstractManagedConnectionImpl conn, javax.security.auth.Subject subj)
           
 
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.AbstractManagedConnectionFactoryImpl
getLogWriter, matchManagedConnections, setLogWriter
 
Methods inherited from class org.apache.cxf.jca.core.resourceadapter.ResourceBean
createURL, getPluginProps, getPropsURL, setDisableConsoleLogging, setProperty, validateURLString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.resource.spi.ManagedConnectionFactory
equals, getLogWriter, hashCode, matchManagedConnections, setLogWriter
 

Field Detail

jcaBusFactory

protected JCABusFactory jcaBusFactory
Constructor Detail

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl()

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl(java.util.Properties props)
Method Detail

setLogLevel

public void setLogLevel(java.lang.String logLevel)

setConfigurationDomain

@Deprecated
public void setConfigurationDomain(java.lang.String name)
Deprecated. 


setConfigurationScope

@Deprecated
public void setConfigurationScope(java.lang.String name)
Deprecated. 


setEJBServicePropertiesURL

public void setEJBServicePropertiesURL(java.lang.String name)

setMonitorEJBServiceProperties

public void setMonitorEJBServiceProperties(java.lang.Boolean monitor)

setEJBServicePropertiesPollInterval

public void setEJBServicePropertiesPollInterval(java.lang.Integer pollInterval)

getLogLevel

public java.lang.String getLogLevel()

getConfigurationDomain

@Deprecated
public java.lang.String getConfigurationDomain()
Deprecated. 


getConfigurationScope

@Deprecated
public java.lang.String getConfigurationScope()
Deprecated. 


getEJBServicePropertiesURL

public java.lang.String getEJBServicePropertiesURL()

getMonitorEJBServiceProperties

public java.lang.Boolean getMonitorEJBServiceProperties()

getEJBServicePropertiesPollInterval

public java.lang.Integer getEJBServicePropertiesPollInterval()

getEJBServicePropertiesURLInstance

public java.net.URL getEJBServicePropertiesURLInstance()
                                                throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

getEJBServantBaseURL

public java.lang.String getEJBServantBaseURL()
                                      throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

setEJBServantBaseURL

public void setEJBServantBaseURL(java.lang.String url)
                          throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

validateReference

protected void validateReference(AbstractManagedConnectionImpl conn,
                                 javax.security.auth.Subject subj)
Specified by:
validateReference in class AbstractManagedConnectionFactoryImpl

createConnectionFactory

public java.lang.Object createConnectionFactory()
                                         throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Specified by:
createConnectionFactory in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

createConnectionFactory

public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connMgr)
                                         throws javax.resource.ResourceException
Specified by:
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactory
Specified by:
createConnectionFactory in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
                                                                    javax.resource.spi.ConnectionRequestInfo connReqInfo)
                                                             throws javax.resource.ResourceException
Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
Specified by:
createManagedConnection in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.ResourceException

close

public void close()
           throws javax.resource.spi.ResourceAdapterInternalException
Specified by:
close in class AbstractManagedConnectionFactoryImpl
Throws:
javax.resource.spi.ResourceAdapterInternalException

init

protected void init(java.lang.ClassLoader appserverClassLoader)
             throws javax.resource.ResourceException
Throws:
javax.resource.ResourceException

getBus

public Bus getBus()

getBootstrapContext

protected java.lang.Object getBootstrapContext()


Apache CXF