org.apache.webbeans.resource.spi.se
Class StandaloneResourceInjectionService

java.lang.Object
  extended by org.apache.webbeans.resource.spi.se.StandaloneResourceInjectionService
All Implemented Interfaces:
ResourceInjectionService

public class StandaloneResourceInjectionService
extends Object
implements ResourceInjectionService


Constructor Summary
StandaloneResourceInjectionService(WebBeansContext webBeansContext)
           
 
Method Summary
 void clear()
           
<X,T extends Annotation>
X
getResourceReference(ResourceReference<X,T> resourceReference)
           
protected  WebBeansContext getWebBeansContext()
           
 void injectJavaEEResources(Object managedBeanInstance)
           
<T> T
readExternal(javax.enterprise.inject.spi.Bean<T> bean, ObjectInput in)
          delegation of serialization behavior
<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

StandaloneResourceInjectionService

public StandaloneResourceInjectionService(WebBeansContext webBeansContext)
Method Detail

getWebBeansContext

protected WebBeansContext getWebBeansContext()

getResourceReference

public <X,T extends Annotation> X getResourceReference(ResourceReference<X,T> resourceReference)
Specified by:
getResourceReference in interface ResourceInjectionService

injectJavaEEResources

public void injectJavaEEResources(Object managedBeanInstance)
Specified by:
injectJavaEEResources in interface ResourceInjectionService

clear

public void clear()
Specified by:
clear in interface 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 ResourceInjectionService
Throws:
IOException

readExternal

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

Specified by:
readExternal in interface ResourceInjectionService
Throws:
IOException
ClassNotFoundException


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.