|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.messaging.ra.JBMManagedConnectionFactory
public class JBMManagedConnectionFactory
JBM ManagedConectionFactory
Constructor Summary | |
---|---|
JBMManagedConnectionFactory()
Constructor |
Method Summary | |
---|---|
java.lang.Object |
createConnectionFactory()
Creates a Connection Factory instance |
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
Creates a Connection Factory 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. |
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
java.lang.String |
getConnectionParameters()
|
java.lang.String |
getConnectorClassName()
|
protected JBossConnectionFactory |
getJBossConnectionFactory()
Get the JBoss connection factory |
java.io.PrintWriter |
getLogWriter()
Get the log writer -- NOT SUPPORTED |
javax.jms.ConnectionMetaData |
getMetaData()
Get the connection metadata |
protected JBMMCFProperties |
getProperties()
Get the managed connection factory properties |
javax.resource.spi.ResourceAdapter |
getResourceAdapter()
Get the resource adapter |
java.lang.String |
getSessionDefaultType()
Get the default session type |
java.lang.Integer |
getUseTryLock()
Get the useTryLock. |
int |
hashCode()
Return the hash code for the object |
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 |
setConnectionParameters(java.lang.String configuration)
|
void |
setConnectorClassName(java.lang.String value)
|
void |
setLogWriter(java.io.PrintWriter out)
Set the log writer -- NOT SUPPORTED |
void |
setResourceAdapter(javax.resource.spi.ResourceAdapter ra)
Set the resource adapter |
void |
setSessionDefaultType(java.lang.String type)
Set the default session type |
void |
setUseTryLock(java.lang.Integer useTryLock)
Set the useTryLock. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JBMManagedConnectionFactory()
Method Detail |
---|
public java.lang.Object createConnectionFactory() throws javax.resource.ResourceException
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
- Thrown if a connection factory cant be createdpublic java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager) throws javax.resource.ResourceException
createConnectionFactory
in interface javax.resource.spi.ManagedConnectionFactory
cxManager
- The connection manager
javax.resource.ResourceException
- Thrown if a connection factory cant be createdpublic javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
createManagedConnection
in interface javax.resource.spi.ManagedConnectionFactory
subject
- Caller's security informationcxRequestInfo
- Additional resource adapter specific connection request information
javax.resource.ResourceException
- Thrown if a managed connection cant be createdpublic javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet, javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo cxRequestInfo) throws javax.resource.ResourceException
matchManagedConnections
in interface javax.resource.spi.ManagedConnectionFactory
connectionSet
- The candidate connection setsubject
- Caller's security informationcxRequestInfo
- Additional resource adapter specific connection request information
javax.resource.ResourceException
- Thrown if no managed connection cant be foundpublic void setLogWriter(java.io.PrintWriter out) throws javax.resource.ResourceException
setLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
out
- The writer
javax.resource.ResourceException
- Thrown if the writer cant be setpublic java.io.PrintWriter getLogWriter() throws javax.resource.ResourceException
getLogWriter
in interface javax.resource.spi.ManagedConnectionFactory
javax.resource.ResourceException
- Thrown if the writer cant be retrievedpublic javax.resource.spi.ResourceAdapter getResourceAdapter()
getResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
public void setResourceAdapter(javax.resource.spi.ResourceAdapter ra) throws javax.resource.ResourceException
setResourceAdapter
in interface javax.resource.spi.ResourceAdapterAssociation
ra
- The resource adapter
javax.resource.ResourceException
- Thrown if incorrect resource adapterpublic boolean equals(java.lang.Object obj)
equals
in interface javax.resource.spi.ManagedConnectionFactory
equals
in class java.lang.Object
obj
- Object with which to compare
public int hashCode()
hashCode
in interface javax.resource.spi.ManagedConnectionFactory
hashCode
in class java.lang.Object
public java.lang.String getSessionDefaultType()
public void setSessionDefaultType(java.lang.String type)
type
- either javax.jms.Topic or javax.jms.Queuepublic java.lang.String getConnectionParameters()
public void setConnectionParameters(java.lang.String configuration)
public java.lang.String getConnectorClassName()
public void setConnectorClassName(java.lang.String value)
public java.lang.Integer getUseTryLock()
public void setUseTryLock(java.lang.Integer useTryLock)
useTryLock
- the useTryLock.public javax.jms.ConnectionMetaData getMetaData()
protected JBossConnectionFactory getJBossConnectionFactory() throws javax.resource.ResourceException
javax.resource.ResourceException
protected JBMMCFProperties getProperties()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |