|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
While Service is designed to be a generic interface, ServiceMBean extends it in order to provide JMX-specific functionality.
| Fields inherited from interface jrunx.kernel.Service |
INITIALIZED, STARTED, STARTING, STOPPED, STOPPING, UNINITIALIZED |
| Method Summary | |
void |
bind()
Bind the service to the JNDI tree. |
boolean |
getBindToJNDI()
|
boolean |
getDeactivated()
Check if the service is deactivated and should not be started |
java.lang.String |
getDomainName()
Retrieve the domain name of this service. |
java.lang.Object |
getJRunService()
|
Logger |
getLogger()
|
java.lang.String |
getName()
Request the name by which the server refers to this service. |
ServiceMBean |
getParentService()
Gets the parent service of this service, or null if not part of a ConfigurableServicePartition |
java.lang.String |
getServerName()
|
javax.management.MBeanServer |
requestServer()
Every service may report its server by reference. |
void |
setBindToJNDI(boolean b)
|
void |
setDeactivated(boolean deactivated)
Deactivate the service to prevent it from being started |
void |
setDomainName(java.lang.String n)
Set the domain to which this Service belongs. |
void |
setName(java.lang.String n)
Set the Service Name. |
void |
setParentService(ServiceMBean parent)
Sets the parent service of this service. |
void |
unbind()
Unbind the service form the JNDI tree. |
| Methods inherited from interface jrunx.kernel.Service |
destroy, getStatus, init, start, stop, updateStatus |
| Method Detail |
public java.lang.String getName()
public void setName(java.lang.String n)
public void setDomainName(java.lang.String n)
throws ServiceException
public java.lang.String getDomainName()
throws ServiceException
public java.lang.String getServerName()
public javax.management.MBeanServer requestServer()
public void bind()
throws javax.naming.NamingException
public void unbind()
throws javax.naming.NamingException
public boolean getBindToJNDI()
public void setBindToJNDI(boolean b)
public boolean getDeactivated()
public void setDeactivated(boolean deactivated)
public void setParentService(ServiceMBean parent)
parent - The parent servicepublic ServiceMBean getParentService()
public Logger getLogger()
public java.lang.Object getJRunService()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||