|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl
public class ServiceUnitImpl
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
LOGGER
|
| Constructor Summary | |
|---|---|
ServiceUnitImpl(ServiceUnitDesc serviceUnitDesc,
java.io.File rootDir,
ComponentImpl component)
|
|
| Method Summary | |
|---|---|
protected void |
checkComponentStarted(java.lang.String task)
|
protected void |
checkComponentStartedOrStopped(java.lang.String task)
|
void |
deploy()
|
Component |
getComponent()
Retrieve the Component onto which this ServiceUnit is deployed |
ComponentImpl |
getComponentImpl()
|
java.lang.String |
getComponentName()
|
java.lang.String |
getDescription()
Retrieves the description of this service assembly |
java.lang.String |
getDescriptor()
Retrieve the JBI descriptor for this service assembly |
java.lang.String |
getKey()
|
java.lang.String |
getName()
Retrieves the name of this service assembly |
java.io.File |
getRootDir()
|
ServiceAssembly |
getServiceAssembly()
Get the ServiceAssembly to which this ServiceUnit belongs |
protected ServiceAssemblyImpl |
getServiceAssemblyImpl()
|
void |
init()
|
protected void |
setServiceAssemblyImpl(ServiceAssemblyImpl serviceAssembly)
|
void |
shutdown()
|
void |
start()
|
void |
stop()
|
void |
undeploy()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.commons.logging.Log LOGGER
| Constructor Detail |
|---|
public ServiceUnitImpl(ServiceUnitDesc serviceUnitDesc,
java.io.File rootDir,
ComponentImpl component)
| Method Detail |
|---|
public java.lang.String getKey()
public java.lang.String getName()
ServiceUnit
getName in interface ServiceUnitpublic java.lang.String getDescription()
ServiceUnit
getDescription in interface ServiceUnitpublic java.lang.String getDescriptor()
ServiceUnit
getDescriptor in interface ServiceUnitpublic java.lang.String getComponentName()
public ServiceAssembly getServiceAssembly()
ServiceUnit
getServiceAssembly in interface ServiceUnitprotected ServiceAssemblyImpl getServiceAssemblyImpl()
protected void setServiceAssemblyImpl(ServiceAssemblyImpl serviceAssembly)
public Component getComponent()
ServiceUnit
getComponent in interface ServiceUnitpublic ComponentImpl getComponentImpl()
public java.io.File getRootDir()
public void deploy()
throws javax.jbi.JBIException
javax.jbi.JBIException
public void init()
throws javax.jbi.JBIException
javax.jbi.JBIException
public void start()
throws javax.jbi.JBIException
javax.jbi.JBIException
public void stop()
throws javax.jbi.JBIException
javax.jbi.JBIException
public void shutdown()
throws javax.jbi.JBIException
javax.jbi.JBIException
public void undeploy()
throws javax.jbi.JBIException
javax.jbi.JBIException
protected void checkComponentStarted(java.lang.String task)
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentException
protected void checkComponentStartedOrStopped(java.lang.String task)
throws javax.jbi.management.DeploymentException
javax.jbi.management.DeploymentException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||