org.springframework.jee.ejb
Class EjbMetadata
java.lang.Object
org.springframework.jee.inject.Jsr250Metadata
org.springframework.jee.intercept.InterceptionMetadata
org.springframework.jee.ejb.EjbMetadata
- All Implemented Interfaces:
- Jsr250MetadataI, InterceptionMetadataI
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
Methods inherited from class org.springframework.jee.intercept.InterceptionMetadata |
addAspectJAdvisors, addBeanControlInterfaceMethod, addBusinessInterface, addJeeInterceptors, addJeeInterceptors, addSelfInterceptor, addSpringAopAdvisors, addSuperInterceptors, createProxyIfNecessary, createProxyIfNecessary, customizeProxyConfig, findBusinessInterfacesFromClassOrAnnotation, getBeanControlInterface, getBeanControlInterfaceMethods, getBusinessInterfaces, getExclusion, getInterceptorMetadata, getInterceptorOrder, invokeLifecycleMethods, invokePostConstructAndRegisterShutdownHook, isExcludedAsBusinessInterfaceOnAutodetect, registerInterceptorMetadata, registerInterceptorOrder, registerSelfInterceptorMethod, setBeanControlInterface, setBeanControlInterfaceMethods, setComponentContext, setExcludeClassInterceptors, setExcludeDefaultInterceptors |
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 |
EjbMetadata
public EjbMetadata(DeploymentUnitMetadata dum,
String name,
Class<?> componentClass,
BeanType beanType)
- Parameters:
name
- componentClass
-
getBeanType
public BeanType getBeanType()
- Returns:
- the beanType
addComponentContractInterceptors
protected void addComponentContractInterceptors(ProxyFactory pf,
Object bean,
Map<Class,Object> interceptorInstancesForClass)
- 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-2008 SpringSource (formerly Interface21). All Rights Reserved.