org.apache.cxf.jaxrs.impl
Class ResourceContextImpl

java.lang.Object
  extended by org.apache.cxf.jaxrs.impl.ResourceContextImpl
All Implemented Interfaces:
javax.ws.rs.container.ResourceContext

public class ResourceContextImpl
extends Object
implements javax.ws.rs.container.ResourceContext


Constructor Summary
ResourceContextImpl(OperationResourceInfo ori)
           
 
Method Summary
<T> T
getResource(Class<T> cls)
           
<T> T
initResource(T resource)
           
 Object matchResource(URI arg0)
           
<T> T
matchResource(URI arg0, Class<T> arg1)
           
 javax.ws.rs.core.UriInfo matchUriInfo(URI arg0)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceContextImpl

public ResourceContextImpl(OperationResourceInfo ori)
Method Detail

getResource

public <T> T getResource(Class<T> cls)
Specified by:
getResource in interface javax.ws.rs.container.ResourceContext

initResource

public <T> T initResource(T resource)

matchResource

public Object matchResource(URI arg0)
                     throws NullPointerException,
                            IllegalArgumentException
Specified by:
matchResource in interface javax.ws.rs.container.ResourceContext
Throws:
NullPointerException
IllegalArgumentException

matchResource

public <T> T matchResource(URI arg0,
                           Class<T> arg1)
                throws NullPointerException,
                       IllegalArgumentException,
                       ClassCastException
Specified by:
matchResource in interface javax.ws.rs.container.ResourceContext
Throws:
NullPointerException
IllegalArgumentException
ClassCastException

matchUriInfo

public javax.ws.rs.core.UriInfo matchUriInfo(URI arg0)
                                      throws NullPointerException,
                                             IllegalArgumentException
Specified by:
matchUriInfo in interface javax.ws.rs.container.ResourceContext
Throws:
NullPointerException
IllegalArgumentException


Apache CXF