org.apache.servicemix.wsn.component
Class WSNDeployableEndpoint

java.lang.Object
  extended by org.apache.servicemix.common.endpoints.AbstractEndpoint
      extended by org.apache.servicemix.wsn.component.WSNDeployableEndpoint
All Implemented Interfaces:
Endpoint, EndpointManager
Direct Known Subclasses:
WSNPublisherEndpoint, WSNPullPointEndpoint, WSNSubscriptionEndpoint

public abstract class WSNDeployableEndpoint
extends AbstractEndpoint
implements EndpointManager


Field Summary
 
Fields inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
definition, description, endpoint, interfaceName, logger, service, serviceUnit
 
Constructor Summary
WSNDeployableEndpoint()
           
 
Method Summary
 JmsCreatePullPoint getCreatePullPoint()
           
 JbiNotificationBroker getNotificationBroker()
           
 void process(javax.jbi.messaging.MessageExchange exchange)
           
 Object register(String address, Object service)
           
 void start()
           
 void stop()
           
 void unregister(Object endpoint)
           
 
Methods inherited from class org.apache.servicemix.common.endpoints.AbstractEndpoint
activate, deactivate, getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getRole, getService, getServiceUnit, isExchangeOkay, prepareExchange, setDefinition, setDescription, setEndpoint, setInterfaceName, setService, setServiceUnit, toString, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WSNDeployableEndpoint

public WSNDeployableEndpoint()
Method Detail

getNotificationBroker

public JbiNotificationBroker getNotificationBroker()

getCreatePullPoint

public JmsCreatePullPoint getCreatePullPoint()

process

public void process(javax.jbi.messaging.MessageExchange exchange)
             throws Exception
Specified by:
process in interface Endpoint
Specified by:
process in class AbstractEndpoint
Throws:
Exception

register

public Object register(String address,
                       Object service)
                throws EndpointRegistrationException
Specified by:
register in interface EndpointManager
Throws:
EndpointRegistrationException

unregister

public void unregister(Object endpoint)
                throws EndpointRegistrationException
Specified by:
unregister in interface EndpointManager
Throws:
EndpointRegistrationException

start

public void start()
           throws Exception
Specified by:
start in interface Endpoint
Specified by:
start in class AbstractEndpoint
Throws:
Exception

stop

public void stop()
          throws Exception
Specified by:
stop in interface Endpoint
Specified by:
stop in class AbstractEndpoint
Throws:
Exception


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.