org.apache.tuscany.sca.endpoint.impl
Class EndpointResolverImpl

java.lang.Object
  extended by org.apache.tuscany.sca.endpoint.impl.EndpointResolverImpl
All Implemented Interfaces:
EndpointResolver

public class EndpointResolverImpl
extends java.lang.Object
implements EndpointResolver

The endpoint resolver allows unresolved endpoints to be plumbed into the runtime start and message send processing as a hook to late resolution of target services


Constructor Summary
EndpointResolverImpl(ExtensionPointRegistry extensionPoints, Endpoint endpoint)
           
 
Method Summary
 void resolve()
          This method will be invoked when the endpoint is to be resolved.
 void start()
          This method will be invoked when the endpoint is activated.
 void stop()
          This method will be invoked when the endpont is deactivated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointResolverImpl

public EndpointResolverImpl(ExtensionPointRegistry extensionPoints,
                            Endpoint endpoint)
Method Detail

start

public void start()
Description copied from interface: EndpointResolver
This method will be invoked when the endpoint is activated. It gives the resolver the opportunity to do any set up ready for when it is asked to resolve the endpoint when a message arrives

Specified by:
start in interface EndpointResolver

stop

public void stop()
Description copied from interface: EndpointResolver
This method will be invoked when the endpont is deactivated. It gives the resolver the opportunity to take and required resolver shutdown actions

Specified by:
stop in interface EndpointResolver

resolve

public void resolve()
Description copied from interface: EndpointResolver
This method will be invoked when the endpoint is to be resolved. The resolver will attempt to resolve the endpoint against available services. The resolvers extending this interface will provide environment or binding specific resolution processing

Specified by:
resolve in interface EndpointResolver