org.apache.openejb.cdi
Class CdiResourceInjectionService

java.lang.Object
  extended by org.apache.openejb.cdi.CdiResourceInjectionService
All Implemented Interfaces:
org.apache.webbeans.spi.ResourceInjectionService

public class CdiResourceInjectionService
extends Object
implements org.apache.webbeans.spi.ResourceInjectionService


Constructor Summary
CdiResourceInjectionService()
           
 
Method Summary
 void clear()
           
<X,T extends Annotation>
X
getResourceReference(org.apache.webbeans.spi.api.ResourceReference<X,T> resourceReference)
           
 void injectJavaEEResources(Object managedBeanInstance)
           
<T> T
readExternal(javax.enterprise.inject.spi.Bean<T> bean, ObjectInput out)
          delegation of serialization behavior
 void setAppContext(AppContext appModule)
           
<T> void
writeExternal(javax.enterprise.inject.spi.Bean<T> bean, T actualResource, ObjectOutput out)
          delegation of serialization behavior
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CdiResourceInjectionService

public CdiResourceInjectionService()
Method Detail

setAppContext

public void setAppContext(AppContext appModule)

getResourceReference

public <X,T extends Annotation> X getResourceReference(org.apache.webbeans.spi.api.ResourceReference<X,T> resourceReference)
Specified by:
getResourceReference in interface org.apache.webbeans.spi.ResourceInjectionService

injectJavaEEResources

public void injectJavaEEResources(Object managedBeanInstance)
Specified by:
injectJavaEEResources in interface org.apache.webbeans.spi.ResourceInjectionService

clear

public void clear()
Specified by:
clear in interface org.apache.webbeans.spi.ResourceInjectionService

writeExternal

public <T> void writeExternal(javax.enterprise.inject.spi.Bean<T> bean,
                              T actualResource,
                              ObjectOutput out)
                   throws IOException
delegation of serialization behavior

Specified by:
writeExternal in interface org.apache.webbeans.spi.ResourceInjectionService
Throws:
IOException

readExternal

public <T> T readExternal(javax.enterprise.inject.spi.Bean<T> bean,
                          ObjectInput out)
               throws IOException,
                      ClassNotFoundException
delegation of serialization behavior

Specified by:
readExternal in interface org.apache.webbeans.spi.ResourceInjectionService
Throws:
IOException
ClassNotFoundException


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