org.springframework.jee.spi
Class J2eeClientInjectionMetadata

java.lang.Object
  extended by org.springframework.jee.inject.Jsr250Metadata
      extended by org.springframework.jee.spi.J2eeClientInjectionMetadata
All Implemented Interfaces:
Jsr250MetadataI

public class J2eeClientInjectionMetadata
extends Jsr250Metadata

Author:
Safin Li, Michael Chen

Field Summary
 
Fields inherited from class org.springframework.jee.inject.Jsr250Metadata
KEY, log
 
Constructor Summary
J2eeClientInjectionMetadata(DeploymentUnitMetadataI dum, String componentName, Class<?> componentClass)
           
 
Method Summary
protected  Object resolve(InjectionI injection)
          Resolve the given injected value Look first in the Spring singleton factory, then in JNDI name
 
Methods inherited from class org.springframework.jee.inject.Jsr250Metadata
addInjection, applyInjections, getBeanDefinition, getBeanDefinitionRegistry, getComponentClass, getComponentContext, getComponentName, getDeploymentUnitMetadata, getInjections, getLifecycleEventCallbackMethod, getUniqueInstanceOfType, inject, injectAndPostConstruct, invokeLifecycleMethod, invokeLifecycleMethod, invokeLifecycleMethods, invokePostConstructAndRegisterShutdownHook, refresh, registerLifecycleEventCallbackMethod, resolveByType, setBeanDefinition, setComponentContext, setComponentContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

J2eeClientInjectionMetadata

public J2eeClientInjectionMetadata(DeploymentUnitMetadataI dum,
                                   String componentName,
                                   Class<?> componentClass)
Method Detail

resolve

protected Object resolve(InjectionI injection)
Description copied from class: Jsr250Metadata
Resolve the given injected value Look first in the Spring singleton factory, then in JNDI name

Overrides:
resolve in class Jsr250Metadata
Parameters:
injection - injection metadata
Returns:
object from Spring context or JNDI


Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.