|
eXo Kernel :: MC Kernel Integration :: Implementation 2.4.8-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.container.mc.impl.MCComponentAdapter
public class MCComponentAdapter
A wrapping adapter, that takes care of mc integration at component instantiation time.
| Constructor Summary | |
|---|---|
MCComponentAdapter(org.jboss.kernel.spi.dependency.KernelController controller,
org.picocontainer.ComponentAdapter delegate,
InterceptMC interceptMC,
org.jboss.beans.metadata.plugins.AbstractBeanMetaData data)
The only constructor. |
|
| Method Summary | |
|---|---|
void |
accept(org.picocontainer.PicoVisitor visitor)
Delegation-only method. |
Class |
getComponentImplementation()
Getter for component implementation class. |
Object |
getComponentInstance(org.picocontainer.PicoContainer container)
This is where mc integration happens. |
Object |
getComponentKey()
Getter method for component key. |
void |
verify(org.picocontainer.PicoContainer container)
Delegation-only method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MCComponentAdapter(org.jboss.kernel.spi.dependency.KernelController controller,
org.picocontainer.ComponentAdapter delegate,
InterceptMC interceptMC,
org.jboss.beans.metadata.plugins.AbstractBeanMetaData data)
controller - Kernel controller to usedelegate - original component adapterinterceptMC - mc-integration configuration in the form of annotation| Method Detail |
|---|
public Object getComponentKey()
getComponentKey in interface org.picocontainer.ComponentAdapterpublic Class getComponentImplementation()
getComponentImplementation in interface org.picocontainer.ComponentAdapter
public Object getComponentInstance(org.picocontainer.PicoContainer container)
throws org.picocontainer.PicoInitializationException,
org.picocontainer.PicoIntrospectionException
getComponentInstance in interface org.picocontainer.ComponentAdaptercontainer - pico container that holds this component adapter
org.picocontainer.PicoInitializationException
org.picocontainer.PicoIntrospectionException
public void verify(org.picocontainer.PicoContainer container)
throws org.picocontainer.PicoIntrospectionException
verify in interface org.picocontainer.ComponentAdaptercontainer -
org.picocontainer.PicoIntrospectionExceptionpublic void accept(org.picocontainer.PicoVisitor visitor)
accept in interface org.picocontainer.ComponentAdaptervisitor -
|
eXo Kernel :: MC Kernel Integration :: Implementation 2.4.8-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||