Class EndpointHolder

  • All Implemented Interfaces:
    Runnable

    public class EndpointHolder
    extends Object
    implements Runnable
    Endpoint Holder class to endpoint caching
    • Method Detail

      • getInstance

        public static EndpointHolder getInstance()
        Method to return the instance.
        Returns:
        singleton instance of the class
      • getEndpoint

        public org.apache.synapse.endpoints.Endpoint getEndpoint​(String endpoint)
      • putEndpoint

        public void putEndpoint​(String endpointKey,
                                org.apache.synapse.endpoints.Endpoint endpoint)
      • containsEndpoint

        public boolean containsEndpoint​(String endpoint)
      • run

        public void run()
        Specified by:
        run in interface Runnable