org.glassfish.jersey.server.internal
Class RuntimeDelegateImpl

java.lang.Object
  extended by javax.ws.rs.ext.RuntimeDelegate
      extended by org.glassfish.jersey.internal.AbstractRuntimeDelegate
          extended by org.glassfish.jersey.server.internal.RuntimeDelegateImpl

public class RuntimeDelegateImpl
extends AbstractRuntimeDelegate

Server-side implementation of JAX-RS RuntimeDelegate. This overrides the default implementation of RuntimeDelegate from jersey-common which does not implement createEndpoint(javax.ws.rs.core.Application, java.lang.Class) method.

Author:
Jakub Podlesak, Marek Potociar (marek.potociar at oracle.com), Martin Matula (martin.matula at oracle.com)

Nested Class Summary
 
Nested classes/interfaces inherited from class javax.ws.rs.ext.RuntimeDelegate
RuntimeDelegate.HeaderDelegate<T>
 
Field Summary
 
Fields inherited from class javax.ws.rs.ext.RuntimeDelegate
JAXRS_RUNTIME_DELEGATE_PROPERTY
 
Constructor Summary
RuntimeDelegateImpl()
           
 
Method Summary
<T> T
createEndpoint(Application application, java.lang.Class<T> endpointType)
           
 
Methods inherited from class org.glassfish.jersey.internal.AbstractRuntimeDelegate
createHeaderDelegate, createResponseBuilder, createUriBuilder, createVariantListBuilder
 
Methods inherited from class javax.ws.rs.ext.RuntimeDelegate
getInstance, setInstance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuntimeDelegateImpl

public RuntimeDelegateImpl()
Method Detail

createEndpoint

public <T> T createEndpoint(Application application,
                            java.lang.Class<T> endpointType)
                 throws java.lang.IllegalArgumentException,
                        java.lang.UnsupportedOperationException
Specified by:
createEndpoint in class RuntimeDelegate
Throws:
java.lang.IllegalArgumentException
java.lang.UnsupportedOperationException


Copyright © 2007-2012 Oracle Corporation. All Rights Reserved. Use is subject to license terms.