org.jboss.webbeans.resources.spi.helpers
Class ForwardingResourceServices

java.lang.Object
  extended by org.jboss.webbeans.resources.spi.helpers.ForwardingResourceServices
All Implemented Interfaces:
Service, ResourceServices

public abstract class ForwardingResourceServices
extends java.lang.Object
implements ResourceServices


Constructor Summary
ForwardingResourceServices()
           
 
Method Summary
protected abstract  ResourceServices delegate()
           
 java.lang.Object resolveResource(InjectionPoint injectionPoint)
          Resolve the value for the given @Resource injection point
 java.lang.Object resolveResource(java.lang.String jndiName, java.lang.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
 

Constructor Detail

ForwardingResourceServices

public ForwardingResourceServices()
Method Detail

delegate

protected abstract ResourceServices delegate()

resolveResource

public java.lang.Object resolveResource(InjectionPoint injectionPoint)
Description copied from interface: ResourceServices
Resolve the value for the given @Resource injection point

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

resolveResource

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

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


Copyright © 2011. All Rights Reserved.