org.springframework.jee.ejb
Class EjbMetadata

java.lang.Object
  extended by org.springframework.jee.inject.Jsr250Metadata
      extended by org.springframework.jee.intercept.InterceptionMetadata
          extended by org.springframework.jee.ejb.EjbMetadata

public class EjbMetadata
extends InterceptionMetadata

Metadata for an EJB. Extends InterceptionMetadata to add additional EJB metadata such as singleton type, and do more sophisticated proxying to handle EJB component model contract. Does not do Spring transaction management: this is assumed to be provided by the container.

Author:
Rod Johnson

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
EjbMetadata(DeploymentUnitMetadata dum, java.lang.String name, java.lang.Class<?> componentClass, BeanType beanType)
           
 
Method Summary
protected  void addComponentContractInterceptors(org.springframework.aop.framework.ProxyFactory pf)
          Add interceptors that apply the component contract--such as EJB transaction behaviour.
 BeanType getBeanType()
           
 
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, inject, 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

EjbMetadata

public EjbMetadata(DeploymentUnitMetadata dum,
                   java.lang.String name,
                   java.lang.Class<?> componentClass,
                   BeanType beanType)
Parameters:
name -
componentClass -
Method Detail

getBeanType

public BeanType getBeanType()
Returns:
the beanType

addComponentContractInterceptors

protected void addComponentContractInterceptors(org.springframework.aop.framework.ProxyFactory pf)
Description copied from class: InterceptionMetadata
Add interceptors that apply the component contract--such as EJB transaction behaviour.

Overrides:
addComponentContractInterceptors in class InterceptionMetadata
Parameters:
pf - ProxyFactory used to create proxy


Copyright 2006 Interface21. All Rights Reserved.