|
eXo Kernel :: MC Kernel Integration :: Demo 2.4.9-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.exoplatform.kernel.demos.mc.ExternallyControlledInjectingBean
public class ExternallyControlledInjectingBean
This POJO demonstrates how to use external configuration (mc-int-config.xml) to perform injections of JBoss Microcontainer components into a service object configured and managed through exo-kernel.
| Nested Class Summary | |
|---|---|
static class |
ExternallyControlledInjectingBean.ConfigurationHolder
Inner data structure for testing nested property injection |
| Constructor Summary | |
|---|---|
ExternallyControlledInjectingBean()
In this demo this bean is to be instantiated by exo-kernel. |
|
| Method Summary | |
|---|---|
InjectedBean |
getBean()
Getter method. |
Map |
getBindingsMap()
Getter method. |
ExternallyControlledInjectingBean.ConfigurationHolder |
getConfig()
Getter method. |
int |
getStartCount()
Getter method. |
String |
getStringValue()
Getter method. |
TransactionManager |
getTransactionManager()
Getter method. |
void |
initialize(String param1,
String param2,
org.jboss.dependency.spi.Controller param3)
Non-setter method externally configured as injection method called with injected parameters |
boolean |
isInstallOk()
Getter method. |
void |
setBean(InjectedBean bean)
Setter method, externally configured as injection point for type matching injection. |
void |
setBindingsMap(Map bindingsMap)
Setter method, externally configured as injection point. |
void |
setStringValue(String stringValue)
Setter method externally configured as injection point for property getter injection. |
void |
setTransactionManager(TransactionManager tm)
Setter method, externally configured as injection point for type matching injection |
void |
start()
org.picocontainer.Startable lifecycle method. |
void |
stop()
org.picocontainer.Startable lifecycle method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExternallyControlledInjectingBean()
| Method Detail |
|---|
public TransactionManager getTransactionManager()
public void setTransactionManager(TransactionManager tm)
tm - public InjectedBean getBean()
public void setBean(InjectedBean bean)
bean - public Map getBindingsMap()
public void setBindingsMap(Map bindingsMap)
bindingsMap - public String getStringValue()
public void setStringValue(String stringValue)
stringValue - public int getStartCount()
public void start()
start in interface org.picocontainer.Startablepublic void stop()
stop in interface org.picocontainer.Startablepublic ExternallyControlledInjectingBean.ConfigurationHolder getConfig()
public void initialize(String param1,
String param2,
org.jboss.dependency.spi.Controller param3)
param1 - param2 - param3 - public boolean isInstallOk()
|
eXo Kernel :: MC Kernel Integration :: Demo 2.4.9-GA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||