com.j_spaces.jca
Class GSManagedConnectionFactory
java.lang.Object
com.j_spaces.jca.GSManagedConnectionFactory
- All Implemented Interfaces:
- Serializable, ManagedConnectionFactory
public class GSManagedConnectionFactory
- extends Object
- implements ManagedConnectionFactory
JCA Managed Connection Factory
- See Also:
- Serialized Form
magic
public int magic
GSManagedConnectionFactory
public GSManagedConnectionFactory()
throws ResourceException
- Throws:
ResourceException
setJavaSpaceURL
public void setJavaSpaceURL(String name)
getJavaSpaceURL
public String getJavaSpaceURL()
setDtxLookupGroups
public void setDtxLookupGroups(String name)
getDtxLookupGroups
public String getDtxLookupGroups()
setDtxServiceName
public void setDtxServiceName(String name)
getDtxServiceName
public String getDtxServiceName()
setDtxUnicastLookupHost
public void setDtxUnicastLookupHost(String name)
getDtxUnicastLookupHost
public String getDtxUnicastLookupHost()
setDistributedTransaction
public void setDistributedTransaction(Boolean value)
getDistributedTransaction
public Boolean getDistributedTransaction()
setTransactionTimeout
public void setTransactionTimeout(Long txTimeout)
getTransactionTimeout
public Long getTransactionTimeout()
setLeaseTimeout
public void setLeaseTimeout(long leaseTimeout)
getLeaseTimeout
public long getLeaseTimeout()
createConnectionFactory
public Object createConnectionFactory()
throws ResourceException
- Specified by:
createConnectionFactory
in interface ManagedConnectionFactory
- Throws:
ResourceException
createConnectionFactory
public Object createConnectionFactory(ConnectionManager cm)
throws ResourceException
- Specified by:
createConnectionFactory
in interface ManagedConnectionFactory
- Throws:
ResourceException
createManagedConnection
public ManagedConnection createManagedConnection(Subject subject,
ConnectionRequestInfo cri)
throws ResourceException
- Specified by:
createManagedConnection
in interface ManagedConnectionFactory
- Throws:
ResourceException
getLogWriter
public PrintWriter getLogWriter()
throws ResourceException
- Specified by:
getLogWriter
in interface ManagedConnectionFactory
- Throws:
ResourceException
matchManagedConnections
public ManagedConnection matchManagedConnections(Set set,
Subject param2,
ConnectionRequestInfo param3)
throws ResourceException
- Specified by:
matchManagedConnections
in interface ManagedConnectionFactory
- Throws:
ResourceException
setLogWriter
public void setLogWriter(PrintWriter param1)
throws ResourceException
- Specified by:
setLogWriter
in interface ManagedConnectionFactory
- Throws:
ResourceException
hashCode
public int hashCode()
- Specified by:
hashCode
in interface ManagedConnectionFactory
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object other)
- Specified by:
equals
in interface ManagedConnectionFactory
- Overrides:
equals
in class Object
getUserName
public String getUserName()
- Returns:
- Returns the userName.
setUserName
public void setUserName(String userName)
- Parameters:
userName
- The userName to set.
getUserPassword
public String getUserPassword()
- Returns:
- Returns the userPassword.
setUserPassword
public void setUserPassword(String userPassword)
- Parameters:
userPassword
- The userPassword to set.