com.webify.wsf.engine.mediation
Class Endpoint

java.lang.Object
  extended by com.webify.wsf.engine.mediation.Endpoint
All Implemented Interfaces:
java.io.Serializable

public abstract class Endpoint
extends java.lang.Object
implements java.io.Serializable

Engine representation of a service endpoint; usually accessed through EndpointSelection.getOneEndpoint(com.webify.wsf.engine.context.Context).

Version:
$Revision: $
Author:
msanchez
See Also:
Serialized Form

Field Summary
static java.lang.String ACTIVE_STATUS
           
static java.lang.String DISABLED_STATUS
           
static java.lang.String INACTIVE_STATUS
           
 
Constructor Summary
Endpoint()
           
 
Method Summary
abstract  boolean equals(java.lang.Object other)
          Force sub-classes to override Object.equals(java.lang.Object).
abstract  Address getAddress()
           
 EndpointComputation getComputation()
          Deprecated. use the computation from the selection object instead. The result from this operation is only correct in single-threaded execution of endpoint selector.
abstract  java.lang.String getId()
           
abstract  java.util.List getInterfaceNames()
           
abstract  javax.xml.namespace.QName getName()
           
abstract  Policy getPropagatedPolicy()
           
abstract  java.util.Collection getWarningMessages(long moment)
           
abstract  int hashCode()
          Force sub-classes to override Object.hashCode().
 boolean isIndirect()
          Determines whether this endpoint is indirect or not.
protected  void setComputation(EndpointComputation computation)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTIVE_STATUS

public static final java.lang.String ACTIVE_STATUS
See Also:
Constant Field Values

INACTIVE_STATUS

public static final java.lang.String INACTIVE_STATUS
See Also:
Constant Field Values

DISABLED_STATUS

public static final java.lang.String DISABLED_STATUS
See Also:
Constant Field Values
Constructor Detail

Endpoint

public Endpoint()
Method Detail

getId

public abstract java.lang.String getId()

getName

public abstract javax.xml.namespace.QName getName()
Returns:
non-null QName representation of the id.

getInterfaceNames

public abstract java.util.List getInterfaceNames()

getAddress

public abstract Address getAddress()

getWarningMessages

public abstract java.util.Collection getWarningMessages(long moment)

getPropagatedPolicy

public abstract Policy getPropagatedPolicy()

getComputation

public EndpointComputation getComputation()
Deprecated. use the computation from the selection object instead. The result from this operation is only correct in single-threaded execution of endpoint selector.

See Also:
EndpointSelection#getComputation()}.

setComputation

protected void setComputation(EndpointComputation computation)

isIndirect

public boolean isIndirect()
Determines whether this endpoint is indirect or not.


equals

public abstract boolean equals(java.lang.Object other)
Force sub-classes to override Object.equals(java.lang.Object).

Overrides:
equals in class java.lang.Object

hashCode

public abstract int hashCode()
Force sub-classes to override Object.hashCode().

Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2002-2009 IBM. All Rights Reserved.