com.sun.jersey.server.impl.provider
Class RuntimeDelegateImpl
java.lang.Object
javax.ws.rs.ext.RuntimeDelegate
com.sun.jersey.core.spi.factory.AbstractRuntimeDelegate
com.sun.jersey.server.impl.provider.RuntimeDelegateImpl
public class RuntimeDelegateImpl
- extends AbstractRuntimeDelegate
- Author:
- Paul.Sandoz@Sun.Com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RuntimeDelegateImpl
public RuntimeDelegateImpl()
createEndpoint
public <T> T createEndpoint(Application application,
Class<T> endpointType)
throws IllegalArgumentException,
UnsupportedOperationException
- Description copied from class:
RuntimeDelegate
- Create a configured instance of the supplied endpoint type. How the
returned endpoint instance is published is dependent on the type of
endpoint.
- Specified by:
createEndpoint
in class RuntimeDelegate
- Parameters:
application
- the application configurationendpointType
- the type of endpoint instance to be created.
- Returns:
- a configured instance of the requested type.
- Throws:
IllegalArgumentException
- if application is null or the
requested endpoint type is not supported.
UnsupportedOperationException
- if the implementation
supports no endpoint types.
Copyright © 2013 Oracle Corporation. All Rights Reserved.