|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.geronimo.ServiceMixGBean
public class ServiceMixGBean
| Field Summary | |
|---|---|
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
| Constructor Summary | |
|---|---|
ServiceMixGBean(java.lang.String name,
java.lang.String directory,
org.apache.geronimo.gbean.AbstractNameQuery transactionManagerName,
org.apache.geronimo.gbean.AbstractNameQuery flows,
org.apache.geronimo.kernel.Kernel kernel)
|
|
| Method Summary | |
|---|---|
void |
doFail()
Fails the GBean. |
void |
doStart()
Starts the GBean. |
void |
doStop()
Stops the target. |
static org.apache.geronimo.gbean.GBeanInfo |
getGBeanInfo()
|
JBIContainer |
getJBIContainer()
Returns the JBIContainer |
void |
register(Component component)
|
void |
register(ServiceAssembly assembly)
|
void |
setPersistent(boolean persistent)
Sets the persistent flag |
void |
unregister(Component component)
|
void |
unregister(ServiceAssembly assembly)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
| Constructor Detail |
|---|
public ServiceMixGBean(java.lang.String name,
java.lang.String directory,
org.apache.geronimo.gbean.AbstractNameQuery transactionManagerName,
org.apache.geronimo.gbean.AbstractNameQuery flows,
org.apache.geronimo.kernel.Kernel kernel)
| Method Detail |
|---|
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
public void setPersistent(boolean persistent)
persistent - flag for the JBIContainer
public void doStart()
throws java.lang.Exception
doStart in interface org.apache.geronimo.gbean.GBeanLifecyclejava.lang.Exception - if the target failed to start; this will cause a transition to the failed state
public void doStop()
throws java.lang.Exception
doStop in interface org.apache.geronimo.gbean.GBeanLifecyclejava.lang.Exception - if the target failed to stop; this will cause a transition to the failed statepublic void doFail()
doFail in interface org.apache.geronimo.gbean.GBeanLifecyclepublic JBIContainer getJBIContainer()
getJBIContainer in interface Container
public void register(Component component)
throws java.lang.Exception
register in interface Containerjava.lang.Exception
public void unregister(Component component)
throws java.lang.Exception
unregister in interface Containerjava.lang.Exception
public void register(ServiceAssembly assembly)
throws java.lang.Exception
register in interface Containerjava.lang.Exception
public void unregister(ServiceAssembly assembly)
throws java.lang.Exception
unregister in interface Containerjava.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||