org.springframework.jee.ejb
Class EjbInjectionMetadata

java.lang.Object
  extended by org.springframework.jee.inject.Jsr250Metadata
      extended by org.springframework.jee.intercept.InterceptionMetadata
          extended by org.springframework.jee.transaction.TransactionalMetadata
              extended by org.springframework.jee.ejb.EjbInjectionMetadata

public class EjbInjectionMetadata
extends TransactionalMetadata

Metadata for @EJB injection. Extends TransactionalMetadata and adds support for EJB injections.

Author:
Costin Leau

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.jee.intercept.InterceptionMetadata
InterceptionMetadata.InterceptorExclusion
 
Field Summary
 
Fields inherited from class org.springframework.jee.inject.Jsr250Metadata
KEY
 
Constructor Summary
EjbInjectionMetadata(DeploymentUnitMetadata deploymentUnitMetadata, java.lang.String name, java.lang.Class<?> componentClass)
           
 
Method Summary
 void addEjbInjection(Injection<EjbReferenceInfo> fi)
           
 java.util.List<Injection<EjbReferenceInfo>> getEjbInjections()
           
 void inject(java.lang.Object instance)
          Perform dependency injection on the given instance and invoke the PostConstruct method if any
 
Methods inherited from class org.springframework.jee.transaction.TransactionalMetadata
addApplicationCheckedException, addComponentContractInterceptors, addTransactionalMethod, copyEjbTxAttribute, getApplicationCheckedExceptions, getTransactionalMethodAttributes, isTransactional, setTransactional
 
Methods inherited from class org.springframework.jee.intercept.InterceptionMetadata
addAspectJAdvisors, addBusinessInterface, addJeeInterceptors, addJeeInterceptors, addSelfInterceptor, addSpringAopAdvisors, addSuperInterceptors, createProxyIfNecessary, createProxyIfNecessary, customizeProxyConfig, findSuperAroundInvokes, getBusinessInterfaces, getExclusion, getInterceptorMetadata, getInterceptorOrder, invokeLifecycleMethods, invokePostConstructAndRegisterShutdownHook, isExcludedAsBusinessInterfaceOnAutodetect, registerInterceptorMetadata, registerInterceptorOrder, setComponentContext, setExcludeClassInterceptors, setExcludeDefaultInterceptors, setSelfInterceptorMethod
 
Methods inherited from class org.springframework.jee.inject.Jsr250Metadata
addInjection, applyInjections, getBeanDefinition, getBeanDefinitionRegistry, getComponentClass, getComponentContext, getComponentName, getDeploymentUnitMetadata, getInjections, getLifecycleEventCallbackMethod, getUniqueInstanceOfType, injectAndPostConstruct, invokeLifecycleMethod, invokeLifecycleMethod, refresh, registerLifecycleEventCallbackMethod, resolve, resolveByType, setBeanDefinition, setComponentContext, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EjbInjectionMetadata

public EjbInjectionMetadata(DeploymentUnitMetadata deploymentUnitMetadata,
                            java.lang.String name,
                            java.lang.Class<?> componentClass)
Method Detail

getEjbInjections

public java.util.List<Injection<EjbReferenceInfo>> getEjbInjections()

addEjbInjection

public void addEjbInjection(Injection<EjbReferenceInfo> fi)

inject

public void inject(java.lang.Object instance)
Description copied from class: Jsr250Metadata
Perform dependency injection on the given instance and invoke the PostConstruct method if any

Overrides:
inject in class Jsr250Metadata
Parameters:
instance - newly instantiated bean instance. If it is null, static members will be used.


Copyright 2006 Interface21. All Rights Reserved.