org.apache.servicemix.wsn
Class AbstractEndpoint

java.lang.Object
  extended by org.apache.servicemix.wsn.AbstractEndpoint
Direct Known Subclasses:
AbstractCreatePullPoint, AbstractNotificationBroker, AbstractPublisher, AbstractPullPoint, AbstractSubscription

public abstract class AbstractEndpoint
extends Object


Field Summary
protected  String address
           
protected  Object endpoint
           
protected  EndpointManager manager
           
protected  String name
           
 
Constructor Summary
AbstractEndpoint(String name)
           
 
Method Summary
protected abstract  String createAddress()
           
static EndpointReferenceType createEndpointReference(String address)
           
 String getAddress()
           
 EndpointManager getManager()
           
 String getName()
           
 void register()
           
 void setAddress(String address)
           
 void setManager(EndpointManager manager)
           
 void unregister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name

address

protected String address

manager

protected EndpointManager manager

endpoint

protected Object endpoint
Constructor Detail

AbstractEndpoint

public AbstractEndpoint(String name)
Method Detail

getName

public String getName()

getAddress

public String getAddress()

setAddress

public void setAddress(String address)

register

public void register()
              throws EndpointRegistrationException
Throws:
EndpointRegistrationException

unregister

public void unregister()
                throws EndpointRegistrationException
Throws:
EndpointRegistrationException

getManager

public EndpointManager getManager()

setManager

public void setManager(EndpointManager manager)

createAddress

protected abstract String createAddress()

createEndpointReference

public static EndpointReferenceType createEndpointReference(String address)


Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.