|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.radman.gateway.jmx.JMXHost
public final class JMXHost
| Constructor Summary | |
|---|---|
JMXHost(javax.management.remote.JMXServiceURL aServiceURL,
java.lang.String aHostId,
java.lang.String aHostIP)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Returns the description of this Host. |
java.util.Set<HostGroup> |
getHostGroups()
Returns all host groups associated with this host. |
java.lang.String |
getHostIP()
Returns the host ip address. |
java.lang.String |
getId()
Returns the id of this host. |
OSGiContainer |
getOSGiContainer(java.lang.String aContainerName,
boolean createWhenNotNull)
Returns the container given the container name. |
java.util.Set<OSGiContainer> |
getOSGiContainers()
Returns the osgi container installed on this host. |
boolean |
removeOSGiContainer(java.lang.String anId)
Removes the OSGiContainer given the specified id. |
void |
setDescription(java.lang.String aDescription)
Sets the host description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JMXHost(javax.management.remote.JMXServiceURL aServiceURL,
java.lang.String aHostId,
java.lang.String aHostIP)
| Method Detail |
|---|
public final java.lang.String getId()
Hostnull.
getId in interface Hostpublic final java.lang.String getHostIP()
Hostnull.
getHostIP in interface Hostpublic java.lang.String getDescription()
HostHost.
getDescription in interface Hostpublic void setDescription(java.lang.String aDescription)
Host
setDescription in interface HostaDescription - The host description.public java.util.Set<HostGroup> getHostGroups()
Hosthost. Returns an empty set if there is no host group
associated to this host.
getHostGroups in interface HostHostGroup,
Collections.emptySet()public java.util.Set<OSGiContainer> getOSGiContainers()
Host
getOSGiContainers in interface Host
public OSGiContainer getOSGiContainer(java.lang.String aContainerName,
boolean createWhenNotNull)
Host
getOSGiContainer in interface HostaContainerName - The container name. This argument must not be null.createWhenNotNull - A boolean indicator whether to create the requested container when not found.
public boolean removeOSGiContainer(java.lang.String anId)
throws java.lang.IllegalArgumentException
Host
removeOSGiContainer in interface HostanId - The OSGiContainer to remove.
true if the specified OSGiContainer is succesfully removed. false otherwise.
java.lang.IllegalArgumentException - Thrown if the specified anId argument is null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||