org.apache.servicemix.wsn.component
Class WSNDeployer.WSNPublisherEndpoint

java.lang.Object
  extended by org.apache.servicemix.common.Endpoint
      extended by org.apache.servicemix.wsn.component.WSNDeployer.WSNPublisherEndpoint
All Implemented Interfaces:
EndpointManager
Enclosing class:
WSNDeployer

public static class WSNDeployer.WSNPublisherEndpoint
extends Endpoint
implements EndpointManager


Field Summary
 
Fields inherited from class org.apache.servicemix.common.Endpoint
definition, description, endpoint, interfaceName, logger, service, serviceUnit
 
Constructor Summary
WSNDeployer.WSNPublisherEndpoint(RegisterPublisher request)
           
 
Method Summary
 void activate()
           
 void deactivate()
           
 ExchangeProcessor getProcessor()
           
 MessageExchange.Role getRole()
           
 Object register(String address, Object service)
           
 void unregister(Object endpoint)
           
 
Methods inherited from class org.apache.servicemix.common.Endpoint
getDefinition, getDescription, getEndpoint, getInterfaceName, getKey, getService, getServiceUnit, isExchangeOkay, 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

WSNDeployer.WSNPublisherEndpoint

public WSNDeployer.WSNPublisherEndpoint(RegisterPublisher request)
Method Detail

getRole

public MessageExchange.Role getRole()
Specified by:
getRole in class Endpoint

activate

public void activate()
              throws Exception
Specified by:
activate in class Endpoint
Throws:
Exception

deactivate

public void deactivate()
                throws Exception
Specified by:
deactivate in class Endpoint
Throws:
Exception

getProcessor

public ExchangeProcessor getProcessor()
Specified by:
getProcessor in class Endpoint

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


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