org.apache.openejb.server.cxf.rs
Class OpenEJBPerRequestPojoResourceProvider

java.lang.Object
  extended by org.apache.openejb.server.cxf.rs.OpenEJBPerRequestPojoResourceProvider
All Implemented Interfaces:
org.apache.cxf.jaxrs.lifecycle.ResourceProvider

public class OpenEJBPerRequestPojoResourceProvider
extends Object
implements org.apache.cxf.jaxrs.lifecycle.ResourceProvider


Field Summary
protected  Constructor<?> constructor
           
protected  Context context
           
protected  Collection<org.apache.openejb.Injection> injections
           
protected  Method postConstructMethod
           
protected  Method preDestroyMethod
           
protected  org.apache.webbeans.config.WebBeansContext webbeansContext
           
 
Constructor Summary
OpenEJBPerRequestPojoResourceProvider(Class<?> clazz, Collection<org.apache.openejb.Injection> injectionCollection, Context initialContext, org.apache.webbeans.config.WebBeansContext owbCtx)
           
 
Method Summary
 Object getInstance(org.apache.cxf.message.Message m)
           
 Class<?> getResourceClass()
           
 boolean isSingleton()
           
 void releaseInstance(org.apache.cxf.message.Message m, Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

injections

protected Collection<org.apache.openejb.Injection> injections

context

protected Context context

webbeansContext

protected org.apache.webbeans.config.WebBeansContext webbeansContext

constructor

protected Constructor<?> constructor

postConstructMethod

protected Method postConstructMethod

preDestroyMethod

protected Method preDestroyMethod
Constructor Detail

OpenEJBPerRequestPojoResourceProvider

public OpenEJBPerRequestPojoResourceProvider(Class<?> clazz,
                                             Collection<org.apache.openejb.Injection> injectionCollection,
                                             Context initialContext,
                                             org.apache.webbeans.config.WebBeansContext owbCtx)
Method Detail

getInstance

public Object getInstance(org.apache.cxf.message.Message m)
Specified by:
getInstance in interface org.apache.cxf.jaxrs.lifecycle.ResourceProvider

releaseInstance

public void releaseInstance(org.apache.cxf.message.Message m,
                            Object o)
Specified by:
releaseInstance in interface org.apache.cxf.jaxrs.lifecycle.ResourceProvider

getResourceClass

public Class<?> getResourceClass()
Specified by:
getResourceClass in interface org.apache.cxf.jaxrs.lifecycle.ResourceProvider

isSingleton

public boolean isSingleton()
Specified by:
isSingleton in interface org.apache.cxf.jaxrs.lifecycle.ResourceProvider


Copyright © 1999-2012 The Apache Software Foundation. All Rights Reserved.