org.mobicents.slee.resource.parlay.jca
Class ManagedConnectionFactoryImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.jca.ManagedConnectionFactoryImpl
All Implemented Interfaces:
java.io.Serializable, javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation

public final class ManagedConnectionFactoryImpl
extends java.lang.Object
implements javax.resource.spi.ManagedConnectionFactory, javax.resource.spi.ResourceAdapterAssociation

Factory class for all managed connections

See Also:
Serialized Form

Constructor Summary
ManagedConnectionFactoryImpl()
           
 
Method Summary
 java.lang.Object createConnectionFactory()
           
 java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager connectionManager)
           
 javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject arg0, javax.resource.spi.ConnectionRequestInfo arg1)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getAuthenticationSequence()
           
 java.lang.String getDomainID()
           
 java.lang.String getIpInitialIOR()
           
 java.lang.String getIpInitialLocation()
           
 java.lang.String getIpInitialURL()
           
 java.io.PrintWriter getLogWriter()
           
 java.lang.String getNamingServiceIOR()
           
 javax.resource.spi.ResourceAdapter getResourceAdapter()
           
 int hashCode()
           
 javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet, javax.security.auth.Subject arg1, javax.resource.spi.ConnectionRequestInfo arg2)
           
 void setAuthenticationSequence(java.lang.String authenticationSequence)
           
 void setDomainID(java.lang.String domainID)
           
 void setIpInitialIOR(java.lang.String ipInitialIOR)
           
 void setIpInitialLocation(java.lang.String ipInitialLocation)
           
 void setIpInitialURL(java.lang.String ipInitialURL)
           
 void setLogWriter(java.io.PrintWriter arg0)
           
 void setNamingServiceIOR(java.lang.String namingServiceIOR)
           
 void setResourceAdapter(javax.resource.spi.ResourceAdapter arg0)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedConnectionFactoryImpl

public ManagedConnectionFactoryImpl()
Method Detail

createConnectionFactory

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

getIpInitialLocation

public java.lang.String getIpInitialLocation()
Returns:
Returns the ipInitialLocation.

setIpInitialLocation

public void setIpInitialLocation(java.lang.String ipInitialLocation)
Parameters:
ipInitialLocation - The ipInitialLocation to set.

getIpInitialURL

public java.lang.String getIpInitialURL()
Returns:
Returns the ipInitialURL.

setIpInitialURL

public void setIpInitialURL(java.lang.String ipInitialURL)
Parameters:
ipInitialURL - The ipInitialURL to set.

getNamingServiceIOR

public java.lang.String getNamingServiceIOR()
Returns:
Returns the namingServiceIOR.

setNamingServiceIOR

public void setNamingServiceIOR(java.lang.String namingServiceIOR)
Parameters:
namingServiceIOR - The namingServiceIOR to set.

createConnectionFactory

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

createManagedConnection

public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject arg0,
                                                                    javax.resource.spi.ConnectionRequestInfo arg1)
                                                             throws javax.resource.ResourceException
Specified by:
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

matchManagedConnections

public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
                                                                    javax.security.auth.Subject arg1,
                                                                    javax.resource.spi.ConnectionRequestInfo arg2)
                                                             throws javax.resource.ResourceException
Specified by:
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

setLogWriter

public void setLogWriter(java.io.PrintWriter arg0)
                  throws javax.resource.ResourceException
Specified by:
setLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

getLogWriter

public java.io.PrintWriter getLogWriter()
                                 throws javax.resource.ResourceException
Specified by:
getLogWriter in interface javax.resource.spi.ManagedConnectionFactory
Throws:
javax.resource.ResourceException

equals

public boolean equals(java.lang.Object o)
Specified by:
equals in interface javax.resource.spi.ManagedConnectionFactory
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Specified by:
hashCode in interface javax.resource.spi.ManagedConnectionFactory
Overrides:
hashCode in class java.lang.Object

getResourceAdapter

public javax.resource.spi.ResourceAdapter getResourceAdapter()
Specified by:
getResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation

setResourceAdapter

public void setResourceAdapter(javax.resource.spi.ResourceAdapter arg0)
                        throws javax.resource.ResourceException
Specified by:
setResourceAdapter in interface javax.resource.spi.ResourceAdapterAssociation
Throws:
javax.resource.ResourceException

getAuthenticationSequence

public java.lang.String getAuthenticationSequence()
Returns:
Returns the authenticationSequence.

setAuthenticationSequence

public void setAuthenticationSequence(java.lang.String authenticationSequence)
Parameters:
authenticationSequence - The authenticationSequence to set.

getDomainID

public java.lang.String getDomainID()
Returns:
Returns the domainID.

setDomainID

public void setDomainID(java.lang.String domainID)
Parameters:
domainID - The domainID to set.

getIpInitialIOR

public java.lang.String getIpInitialIOR()
Returns:
Returns the ipInitialIOR.

setIpInitialIOR

public void setIpInitialIOR(java.lang.String ipInitialIOR)
Parameters:
ipInitialIOR - The ipInitialIOR to set.


Copyright © 2008. All Rights Reserved.