|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Host
Host represent a machine that may be deployed with many OSGiContainer.
OSGiContainer| 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. |
| Method Detail |
|---|
java.lang.String getId()
null.
java.lang.String getHostIP()
null.
java.util.Set<HostGroup> getHostGroups()
host. Returns an empty set if there is no host group
associated to this host.
HostGroup,
Collections.emptySet()java.util.Set<OSGiContainer> getOSGiContainers()
OSGiContainer getOSGiContainer(java.lang.String aContainerName,
boolean createWhenNotNull)
aContainerName - The container name. This argument must not be null.createWhenNotNull - A boolean indicator whether to create the requested container when not found.
boolean removeOSGiContainer(java.lang.String anId)
throws java.lang.IllegalArgumentException
anId - 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.java.lang.String getDescription()
Host.
void setDescription(java.lang.String aDescription)
aDescription - The host description.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||