Class EndpointClassHolder

  • All Implemented Interfaces:
    ClientEndpointHolder

    public class EndpointClassHolder
    extends java.lang.Object
    implements ClientEndpointHolder
    Holds a reference to a WebSocket endpoint class for later instantiation.
    • Constructor Summary

      Constructors 
      Constructor Description
      EndpointClassHolder​(java.lang.Class<? extends Endpoint> clazz)
      Creates a new holder for the specified endpoint class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getClassName()
      Returns the fully qualified class name of the endpoint.
      Endpoint getInstance​(InstanceManager instanceManager)
      Returns an instance of the endpoint using the given instance manager.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EndpointClassHolder

        public EndpointClassHolder​(java.lang.Class<? extends Endpoint> clazz)
        Creates a new holder for the specified endpoint class.
        Parameters:
        clazz - The endpoint class to hold