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

Method Summary
 void addInjection(InjectionI<?> injection)
           
 Class<?> getComponentClass()
           
 String getComponentName()
           
 DeploymentUnitMetadataI getDeploymentUnitMetadata()
           
 List<InjectionI<?>> getInjections()
           
 List<Method> getLifecycleEventCallbackMethod(LifecycleEvent le)
           
 void inject(Object instance)
          Perform dependency injection on the given instance and invoke the PostConstruct method if any
 void invokeLifecycleMethods(Object bean, LifecycleEvent le)
           
 void refresh()
           
 void registerLifecycleEventCallbackMethod(LifecycleEvent le, Method m)
           
 

Method Detail

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.