org.jboss.jms.client.delegate
Class ClientConnectionFactoryDelegate
java.lang.Object
org.jboss.jms.client.delegate.DelegateSupport
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate
- All Implemented Interfaces:
- ConnectionFactoryDelegate, ConnectionFactoryEndpoint, java.io.Serializable
- public class ClientConnectionFactoryDelegate
- extends DelegateSupport
- implements ConnectionFactoryDelegate
The client-side ConnectionFactory delegate class.
- Version:
- $Revision: 2594 $
$Id: ClientConnectionFactoryDelegate.java 2594 2007-04-20 15:44:23Z timfox $
- Author:
- Tim Fox, Ovidiu Feodorov
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
serverLocatorURI
protected java.lang.String serverLocatorURI
serverVersion
protected Version serverVersion
serverID
protected int serverID
clientPing
protected boolean clientPing
ClientConnectionFactoryDelegate
public ClientConnectionFactoryDelegate(int objectID,
java.lang.String serverLocatorURI,
Version serverVersion,
int serverID,
boolean clientPing)
createConnectionDelegate
public ConnectionDelegate createConnectionDelegate(java.lang.String username,
java.lang.String password)
throws JMSException
- This invocation should either be handled by the client-side interceptor chain or by the
server-side endpoint.
- Specified by:
createConnectionDelegate
in interface ConnectionFactoryEndpoint
- Throws:
JMSException
getClientAOPConfig
public byte[] getClientAOPConfig()
- This invocation should either be handled by the client-side interceptor chain or by the
server-side endpoint.
- Specified by:
getClientAOPConfig
in interface ConnectionFactoryEndpoint
getIdBlock
public IdBlock getIdBlock(int size)
- This invocation should either be handled by the client-side interceptor chain or by the
server-side endpoint.
- Specified by:
getIdBlock
in interface ConnectionFactoryEndpoint
invoke
public java.lang.Object invoke(Invocation invocation)
throws java.lang.Throwable
- Description copied from class:
DelegateSupport
- DelegateSupport also acts as an interceptor - the last interceptor in the chain which
invokes on the server.
- Overrides:
invoke
in class DelegateSupport
- Throws:
java.lang.Throwable
getServerVersion
public Version getServerVersion()
getServerID
public int getServerID()
getVersionToUse
public Version getVersionToUse()
getServerLocatorURI
public java.lang.String getServerLocatorURI()
toString
public java.lang.String toString()
getClient
protected Client getClient()
- Specified by:
getClient
in class DelegateSupport
Copyright © 2006 JBoss Inc. All Rights Reserved.