org.jboss.weld.injection.spi.helpers
Class ForwardingResourceInjectionServices

java.lang.Object
  extended by org.jboss.weld.injection.spi.helpers.ForwardingResourceInjectionServices
All Implemented Interfaces:
Service, ResourceInjectionServices

public abstract class ForwardingResourceInjectionServices
extends Object
implements ResourceInjectionServices


Constructor Summary
ForwardingResourceInjectionServices()
           
 
Method Summary
protected abstract  ResourceInjectionServices delegate()
           
 Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
          Resolve the value for the given @Resource injection point
 Object resolveResource(String jndiName, String mappedName)
          Resolve the value for the given JNDI name and mapped name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jboss.weld.bootstrap.api.Service
cleanup
 

Constructor Detail

ForwardingResourceInjectionServices

public ForwardingResourceInjectionServices()
Method Detail

delegate

protected abstract ResourceInjectionServices delegate()

resolveResource

public Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
Description copied from interface: ResourceInjectionServices
Resolve the value for the given @Resource injection point

Specified by:
resolveResource in interface ResourceInjectionServices
Parameters:
injectionPoint - the injection point metadata
Returns:
an instance of the resource

resolveResource

public Object resolveResource(String jndiName,
                              String mappedName)
Description copied from interface: ResourceInjectionServices
Resolve the value for the given JNDI name and mapped name

Specified by:
resolveResource in interface ResourceInjectionServices
Returns:
an instance of the resource


Copyright © 2013 Seam Framework. All Rights Reserved.