org.jboss.jms.server.endpoint.advised
Class ConnectionFactoryAdvised

java.lang.Object
  extended byorg.jboss.jms.server.endpoint.advised.AdvisedSupport
      extended byorg.jboss.jms.server.endpoint.advised.ConnectionFactoryAdvised
All Implemented Interfaces:
ConnectionFactoryEndpoint, ConnectionFactoryInternalEndpoint

public class ConnectionFactoryAdvised
extends AdvisedSupport
implements ConnectionFactoryInternalEndpoint

Version:
1.5 ConnectionFactoryAdvised.java,v 1.3 2006/03/01 22:56:51 ovidiu Exp
Author:
Tim Fox, Ovidiu Feodorov

Field Summary
protected  ConnectionFactoryEndpoint endpoint
           
 
Constructor Summary
ConnectionFactoryAdvised()
           
ConnectionFactoryAdvised(ConnectionFactoryEndpoint endpoint)
           
 
Method Summary
 CreateConnectionResult createConnectionDelegate(java.lang.String username, java.lang.String password, int failedNodeId)
           
 CreateConnectionResult createConnectionDelegate(java.lang.String username, java.lang.String password, int failedNodeID, java.lang.String remotingSessionID, java.lang.String clientVMID, byte versionToUse, ServerInvokerCallbackHandler callbackHandler)
           
 byte[] getClientAOPStack()
           
 java.lang.Object getEndpoint()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

endpoint

protected ConnectionFactoryEndpoint endpoint
Constructor Detail

ConnectionFactoryAdvised

public ConnectionFactoryAdvised()

ConnectionFactoryAdvised

public ConnectionFactoryAdvised(ConnectionFactoryEndpoint endpoint)
Method Detail

createConnectionDelegate

public CreateConnectionResult createConnectionDelegate(java.lang.String username,
                                                       java.lang.String password,
                                                       int failedNodeId)
                                                throws JMSException
Specified by:
createConnectionDelegate in interface ConnectionFactoryEndpoint
Parameters:
failedNodeId - - zero or positive values mean the connection creation attempt is result of failover. Negative values are ignored (mean regular connection creation attempt).
Throws:
JMSException

getClientAOPStack

public byte[] getClientAOPStack()
                         throws JMSException
Specified by:
getClientAOPStack in interface ConnectionFactoryEndpoint
Throws:
JMSException

createConnectionDelegate

public CreateConnectionResult createConnectionDelegate(java.lang.String username,
                                                       java.lang.String password,
                                                       int failedNodeID,
                                                       java.lang.String remotingSessionID,
                                                       java.lang.String clientVMID,
                                                       byte versionToUse,
                                                       ServerInvokerCallbackHandler callbackHandler)
                                                throws JMSException
Specified by:
createConnectionDelegate in interface ConnectionFactoryInternalEndpoint
Throws:
JMSException

getEndpoint

public java.lang.Object getEndpoint()
Specified by:
getEndpoint in class AdvisedSupport

toString

public java.lang.String toString()


Copyright © 2006 JBoss Inc. All Rights Reserved.