org.glassfish.jersey.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.internal.RuntimeDelegateImpl

public class RuntimeDelegateImpl
extends AbstractRuntimeDelegate

Default implementation of JAX-RS RuntimeDelegate. The RuntimeDelegate class looks for the implementations registered in META-INF/services. If no such implementation is found, this one is picked as the default. Server injection binder should override this (using META-INF/services) to provide an implementation that supports 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, 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,
                            Class<T> endpointType)
                 throws IllegalArgumentException,
                        UnsupportedOperationException
Specified by:
createEndpoint in class RuntimeDelegate
Throws:
IllegalArgumentException
UnsupportedOperationException


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