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

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

public abstract class AbstractResourceServices
extends Object
implements Service


Constructor Summary
AbstractResourceServices()
           
 
Method Summary
 void cleanup()
          Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.
protected abstract  Context getContext()
           
static String getPropertyName(Method method)
           
protected  String getResourceName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
           
protected  String getResourceName(String jndiName, String mappedName)
           
 Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)
           
 Object resolveResource(String jndiName, String mappedName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractResourceServices

public AbstractResourceServices()
Method Detail

resolveResource

public Object resolveResource(javax.enterprise.inject.spi.InjectionPoint injectionPoint)

resolveResource

public Object resolveResource(String jndiName,
                              String mappedName)

getResourceName

protected String getResourceName(String jndiName,
                                 String mappedName)

getContext

protected abstract Context getContext()

getResourceName

protected String getResourceName(javax.enterprise.inject.spi.InjectionPoint injectionPoint)

getPropertyName

public static String getPropertyName(Method method)

cleanup

public void cleanup()
Description copied from interface: Service
Called by Weld when it is shutting down, allowing the service to perform any cleanup needed.

Specified by:
cleanup in interface Service


Copyright © 2013 Seam Framework. All Rights Reserved.