org.ow2.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 postEasyBeansDestroy(EasyBeansBean bean)
          Called after @PreDestroy.
 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.

postEasyBeansDestroy

void postEasyBeansDestroy(EasyBeansBean bean)
Called after @PreDestroy.

Parameters:
bean - the Bean instance.


Copyright © 2006-2012 OW2 Consortium. All Rights Reserved.