org.objectweb.easybeans.api.injection
Interface ResourceInjector


public interface ResourceInjector

The ResourceInjector interface is a way for other systems to hook inside EasyBeans at injection time. This is needed, for example, when a WebServiceContext resource is required. EasyBeans doesn't support such Resource type, so an external injector is needed.

Author:
Guillaume Sauthier

Method Summary
 void postEasyBeansInject(EasyBeansBean bean)
          Called after EasyBeans resolution and injection of dependencies.
 void preEasyBeansInject(EasyBeansBean bean)
          Called before EasyBeans resolution and injection of dependencies.
 

Method Detail

preEasyBeansInject

void preEasyBeansInject(EasyBeansBean bean)
Called before EasyBeans resolution and injection of dependencies.

Parameters:
bean - the Bean instance.

postEasyBeansInject

void postEasyBeansInject(EasyBeansBean bean)
Called after EasyBeans resolution and injection of dependencies.

Parameters:
bean - the Bean instance.