eu.larkc.core.endpoint
Class EndpointFactory
java.lang.Object
eu.larkc.core.endpoint.EndpointFactory
public class EndpointFactory
- extends java.lang.Object
This class is responsible for creating endpoints of specific types.
- Author:
- norlan
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EndpointFactory
public EndpointFactory()
constructEndpoint
public static Endpoint constructEndpoint(java.lang.String type,
Executor executor)
throws java.lang.SecurityException,
java.lang.NoSuchMethodException,
java.lang.IllegalArgumentException,
java.lang.InstantiationException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException,
java.lang.ClassNotFoundException
- This method creates an endpoint of the specific type.
- Parameters:
type
- type of the endpointexecutor
- the executor responsible for that endpoint
- Returns:
- the newly instantiated endpoint
- Throws:
java.lang.NoSuchMethodException
java.lang.SecurityException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException
java.lang.IllegalArgumentException
java.lang.ClassNotFoundException