org.jboss.weld.injection.spi.helpers
Class ForwardingResourceInjectionServices
java.lang.Object
org.jboss.weld.injection.spi.helpers.ForwardingResourceInjectionServices
- All Implemented Interfaces:
- Service, ResourceInjectionServices
public abstract class ForwardingResourceInjectionServices
- extends Object
- implements ResourceInjectionServices
| 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 |
ForwardingResourceInjectionServices
public ForwardingResourceInjectionServices()
delegate
protected abstract ResourceInjectionServices delegate()
registerResourceInjectionPoint
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
- Description copied from interface:
ResourceInjectionServices
- Register a resource injection point. The implementation validates the injection point. If the validation passes, an instance of
ResourceReferenceFactory is returned which may be used at runtime for creating instances of the resource.
- Specified by:
registerResourceInjectionPoint in interface ResourceInjectionServices
- Parameters:
injectionPoint - the injection point metadata
- Returns:
- an instance of the resource
registerResourceInjectionPoint
public ResourceReferenceFactory<Object> registerResourceInjectionPoint(String jndiName,
String mappedName)
- Description copied from interface:
ResourceInjectionServices
- Register a resource injection point with the given JNDI name and mapped name. The implementation validates the injection point.
If the validation passes, an instance of
ResourceReferenceFactory is returned which may be used at runtime for creating
instances of the resource.
- Specified by:
registerResourceInjectionPoint in interface ResourceInjectionServices
- Returns:
- an instance of the resource
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 © 2008-2012 Seam Framework. All Rights Reserved.