|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.joram.client.connector.ManagedConnectionFactoryImpl
org.objectweb.joram.client.connector.ManagedTopicConnectionFactoryImpl
public class ManagedTopicConnectionFactoryImpl
A ManagedTopicConnectionFactoryImpl instance manages
PubSub outbound connectivity to a given JORAM server.
| Field Summary |
|---|
| Fields inherited from class org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl |
|---|
asyncSend, cnxPendingTimer, connectingTimer, multiThreadSync, multiThreadSyncDelay, out, outLocalAddress, outLocalPort, txPendingTimer |
| Constructor Summary | |
|---|---|
ManagedTopicConnectionFactoryImpl()
Constructs a ManagedTopicConnectionFactoryImpl instance. |
|
| Method Summary | |
|---|---|
java.lang.Object |
createConnectionFactory()
Method called in the non managed case for creating an OutboundTopicConnectionFactory instance. |
java.lang.Object |
createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
Method called by an application server (managed case) for creating an OutboundTopicConnectionFactory instance. |
javax.resource.spi.ManagedConnection |
createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequest)
Creates a new PubSub physical connection to the underlying JORAM server, and returns a ManagedConnectionImpl instance for a
managed environment. |
boolean |
equals(java.lang.Object o)
Compares managed factories according to their configuration. |
int |
hashCode()
Returns a code depending on the managed factory configuration. |
javax.resource.spi.ManagedConnection |
matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequest)
Finds a matching connection from the candidate set of connections and returns a ManagedConnectionImpl instance. |
| Methods inherited from class org.objectweb.joram.client.connector.ManagedConnectionFactoryImpl |
|---|
getCnxPendingTimer, getCollocated, getConnectingTimer, getHostName, getIdentityClass, getInvalidConnections, getLogWriter, getMultiThreadSyncDelay, getOutLocalAddress, getOutLocalPort, getPassword, getResourceAdapter, getServerPort, getTxPendingTimer, getUserName, isAsyncSend, isMultiThreadSync, setCollocated, setHostName, setIdentityClass, setLogWriter, setOutLocalAddress, setOutLocalPort, setParameters, setPassword, setResourceAdapter, setServerPort, setUserName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ManagedTopicConnectionFactoryImpl()
ManagedTopicConnectionFactoryImpl instance.
| Method Detail |
|---|
public java.lang.Object createConnectionFactory(javax.resource.spi.ConnectionManager cxManager)
throws javax.resource.ResourceException
OutboundTopicConnectionFactory instance.
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactorycreateConnectionFactory in class ManagedConnectionFactoryImplcxManager - Application server's connections pooling manager.
javax.resource.ResourceException - Never thrown.
public java.lang.Object createConnectionFactory()
throws javax.resource.ResourceException
OutboundTopicConnectionFactory instance.
createConnectionFactory in interface javax.resource.spi.ManagedConnectionFactorycreateConnectionFactory in class ManagedConnectionFactoryImpljavax.resource.ResourceException - Never thrown.
public javax.resource.spi.ManagedConnection createManagedConnection(javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequest)
throws javax.resource.ResourceException
ManagedConnectionImpl instance for a
managed environment.
createManagedConnection in interface javax.resource.spi.ManagedConnectionFactorycreateManagedConnection in class ManagedConnectionFactoryImplsubject - Security data, not taken into account.cxRequest - User identification data, may be null.
javax.resource.spi.CommException - If the JORAM server is not reachable.
javax.resource.spi.SecurityException - If the connecting is not allowed.
javax.jms.IllegalStateException - If the central Joram adapter state is
invalid.
javax.resource.ResourceException - If the provided user info is invalid,
or if connecting fails for any other
reason.
public javax.resource.spi.ManagedConnection matchManagedConnections(java.util.Set connectionSet,
javax.security.auth.Subject subject,
javax.resource.spi.ConnectionRequestInfo cxRequest)
throws javax.resource.ResourceException
ManagedConnectionImpl instance.
matchManagedConnections in interface javax.resource.spi.ManagedConnectionFactorymatchManagedConnections in class ManagedConnectionFactoryImplconnectionSet - Set of connections to test.subject - Security data, not taken into account.cxRequest - User identification data, may be null.
javax.resource.ResourceException - If the provided connection request info is
invalid.public int hashCode()
hashCode in interface javax.resource.spi.ManagedConnectionFactoryhashCode in class ManagedConnectionFactoryImplpublic boolean equals(java.lang.Object o)
equals in interface javax.resource.spi.ManagedConnectionFactoryequals in class ManagedConnectionFactoryImpl
|
Joram 5.2.6 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||