|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TopologyService
Get information from topology
| Method Summary | |
|---|---|
void |
addContainerInformation(ContainerInformation addedContainer,
java.lang.String subdomainName)
Add a new container onto the list of registered containers. |
void |
addSubdomain(java.lang.String name,
java.lang.String description,
SubdomainInformation.SubdomainMode subdomainMode,
boolean networkTimeSynchronized)
Add a subdomain to the topology, without adding any containers. |
void |
addSubdomainWithContainers(SubdomainInformation subdomain)
Add a subdomain to the topology with a potentially a whole set of containers. |
java.util.List<ContainerInformation> |
getAllContainerInformation()
Get the information for all the known containers |
java.util.List<ContainerInformation> |
getAllPeerContainerInformationForLocalSubdomain()
Returns a list with the configurations of all the known containers of the local subdomain, if it uses a flooding policy. |
java.util.List<ContainerInformation> |
getAllSlaveContainerInformationForLocalSubdomain()
Returns a list with the configurations of all the known slaves in the local subdomain. |
ContainerInformation |
getContainerInformation(java.lang.String containerName)
Get the container information for a given container |
DomainInformation |
getDomainInformation()
Retrieve all the domain-related informations |
JndiInformation |
getJndiInformation()
Get the information on the global JNDI. |
java.util.List<ContainerInformation> |
getMasterContainerInformation()
Returns a list with the master container configuration for the local subdomain. |
SubdomainInformation |
getSubdomainByName(java.lang.String subdomainName)
Get the subdomain with the given name |
void |
removeContainerInformation(java.lang.String containerName)
|
void |
removeSubdomain(java.lang.String subdomainName)
|
| Method Detail |
|---|
JndiInformation getJndiInformation()
throws PEtALSWebServiceException
PEtALSWebServiceException
DomainInformation getDomainInformation()
throws PEtALSWebServiceException
PEtALSWebServiceException
void addSubdomain(java.lang.String name,
java.lang.String description,
SubdomainInformation.SubdomainMode subdomainMode,
boolean networkTimeSynchronized)
throws PEtALSWebServiceException
name - description - subdomainMode - networkTimeSynchronized -
PEtALSWebServiceException
void addSubdomainWithContainers(SubdomainInformation subdomain)
throws PEtALSWebServiceException
subdomain -
PEtALSWebServiceException
SubdomainInformation getSubdomainByName(java.lang.String subdomainName)
throws PEtALSWebServiceException
subdomainName -
PEtALSWebServiceException
void removeSubdomain(java.lang.String subdomainName)
throws PEtALSWebServiceException
PEtALSWebServiceException
void addContainerInformation(ContainerInformation addedContainer,
java.lang.String subdomainName)
throws PEtALSWebServiceException
newContainer -
PEtALSWebServiceException
java.util.List<ContainerInformation> getAllContainerInformation()
throws PEtALSWebServiceException
PEtALSWebServiceException
java.util.List<ContainerInformation> getMasterContainerInformation()
throws PEtALSWebServiceException
PEtALSWebServiceException
java.util.List<ContainerInformation> getAllSlaveContainerInformationForLocalSubdomain()
throws PEtALSWebServiceException
PEtALSWebServiceException
java.util.List<ContainerInformation> getAllPeerContainerInformationForLocalSubdomain()
throws PEtALSWebServiceException
PEtALSWebServiceException
ContainerInformation getContainerInformation(java.lang.String containerName)
throws PEtALSWebServiceException
containerId -
PEtALSWebServiceException - if the containerId is not know in the petals topology
void removeContainerInformation(java.lang.String containerName)
throws PEtALSWebServiceException
PEtALSWebServiceException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||