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

public class ConnectionFactoryAdvised
extends AdvisedSupport
implements ConnectionFactoryEndpoint

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)
           
 byte[] getClientAOPStack()
           
 java.lang.Object getEndpoint()
           
 IDBlock getIdBlock(int size)
           
 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

getIdBlock

public IDBlock getIdBlock(int size)
                   throws JMSException
Specified by:
getIdBlock in interface ConnectionFactoryEndpoint
Throws:
JMSException

getClientAOPStack

public byte[] getClientAOPStack()
                         throws JMSException
Specified by:
getClientAOPStack in interface ConnectionFactoryEndpoint
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.