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 java.lang.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  javax.naming.Context getContext()
           
static java.lang.String getPropertyName(java.lang.reflect.Method method)
           
protected  java.lang.String getResourceName(InjectionPoint injectionPoint)
           
protected  java.lang.String getResourceName(java.lang.String jndiName, java.lang.String mappedName)
           
 java.lang.Object resolveResource(InjectionPoint injectionPoint)
           
 java.lang.Object resolveResource(java.lang.String jndiName, java.lang.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 java.lang.Object resolveResource(InjectionPoint injectionPoint)

resolveResource

public java.lang.Object resolveResource(java.lang.String jndiName,
                                        java.lang.String mappedName)

getResourceName

protected java.lang.String getResourceName(java.lang.String jndiName,
                                           java.lang.String mappedName)

getContext

protected abstract javax.naming.Context getContext()

getResourceName

protected java.lang.String getResourceName(InjectionPoint injectionPoint)

getPropertyName

public static java.lang.String getPropertyName(java.lang.reflect.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 © 2008-2009 Seam Framework. All Rights Reserved.