org.springframework.jee.interfaces.inject
Interface Jsr250MetadataI
- All Known Subinterfaces:
- EjbProxyMetadataI, InterceptionMetadataI, InterceptorMetadataI
- All Known Implementing Classes:
- EjbInjectionMetadata, EjbMetadata, EjbProxyMetadata, InterceptionMetadata, InterceptorMetadata, J2eeClientInjectionMetadata, Jsr250Metadata, TransactionalMetadata
public interface Jsr250MetadataI
- Author:
- Safin Li, Michael Chen
addInjection
void addInjection(InjectionI<?> injection)
getComponentName
String getComponentName()
getComponentClass
Class<?> getComponentClass()
registerLifecycleEventCallbackMethod
void registerLifecycleEventCallbackMethod(LifecycleEvent le,
Method m)
invokeLifecycleMethods
void invokeLifecycleMethods(Object bean,
LifecycleEvent le)
getInjections
List<InjectionI<?>> getInjections()
inject
void inject(Object instance)
- Perform dependency injection on the given instance and invoke the
PostConstruct method if any
- Parameters:
instance
- newly instantiated bean instance. If it is null, static
members will be used.
getDeploymentUnitMetadata
DeploymentUnitMetadataI getDeploymentUnitMetadata()
refresh
void refresh()
getLifecycleEventCallbackMethod
List<Method> getLifecycleEventCallbackMethod(LifecycleEvent le)
Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.