org.apache.webbeans.inject
Interface Injectable

All Known Implementing Classes:
AbstractInjectable, InjectableConstructor, InjectableField, InjectableMethods

public interface Injectable

Marker interface for all injectable elements of the web beans components.

There are several injectable elements in the web beans container;

Since:
1.0
Author:
Gurkan Erdogdu
See Also:
InjectableConstructor, InjectableField, InjectableMethods, AbstractInjectable

Method Summary
 Object doInjection()
          Responsible for injecting the owner required injected component instances.
 

Method Detail

doInjection

Object doInjection()
Responsible for injecting the owner required injected component instances. Maybe returning an component instance, for example, InjectableConstructor.doInjection() returns a new web bean component instance.

Each injetable elements parameters, web beans component instances, are resolved using the resolution type algorithm.

Returns:
if the return instance if available


Copyright © 2008-2011 The Apache Software Foundation. All Rights Reserved.