Interface Endpoint

All Superinterfaces:
InterceptorProvider, Map<String,Object>
All Known Implementing Classes:
EndpointImpl

public interface Endpoint extends Map<String,Object>, InterceptorProvider
Represents an endpoint that receives messages.
  • Method Details

    • getEndpointInfo

      EndpointInfo getEndpointInfo()
    • getBinding

      Binding getBinding()
    • getService

      Service getService()
    • setExecutor

      void setExecutor(Executor executor)
    • getExecutor

      Executor getExecutor()
    • getInFaultObserver

      MessageObserver getInFaultObserver()
    • getOutFaultObserver

      MessageObserver getOutFaultObserver()
    • setInFaultObserver

      void setInFaultObserver(MessageObserver observer)
    • setOutFaultObserver

      void setOutFaultObserver(MessageObserver observer)
    • getActiveFeatures

      List<Feature> getActiveFeatures()
    • addCleanupHook

      void addCleanupHook(Closeable c)
      Add a hook that will be called when this end point being terminated. This will be called prior to the Server/ClientLifecycleListener.*Destroyed() method is called. This provides an opportunity to cleanup any resources that are specific to this Endpoint.
      Parameters:
      c -
    • getCleanupHooks

      List<Closeable> getCleanupHooks()