Package org.apache.tomcat.websocket
Interface ClientEndpointHolder
-
- All Known Implementing Classes:
EndpointClassHolder,EndpointHolder,PojoClassHolder,PojoHolder
public interface ClientEndpointHolderHolds a client endpoint and provides access to its class name and instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the fully qualified class name of the endpoint.EndpointgetInstance(InstanceManager instanceManager)Returns an instance of the endpoint using the given instance manager.
-
-
-
Method Detail
-
getClassName
java.lang.String getClassName()
Returns the fully qualified class name of the endpoint.- Returns:
- the class name
-
getInstance
Endpoint getInstance(InstanceManager instanceManager) throws DeploymentException
Returns an instance of the endpoint using the given instance manager.- Parameters:
instanceManager- the instance manager to create the endpoint- Returns:
- the endpoint instance
- Throws:
DeploymentException- if the endpoint cannot be instantiated
-
-