|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TopologyService
| Method Summary | |
|---|---|
void |
addContainerConfiguration(ContainerConfiguration addedContainer)
Add the given container to the topology |
void |
addSubdomainConfiguration(SubDomainConfiguration addedSubdomain)
Add a subdomain to the local topology. |
ContainerConfiguration |
getContainerConfiguration(java.lang.String containerName)
Get the container configuration of the given container name. |
java.util.Set<ContainerConfiguration> |
getContainersConfiguration(ContainerConfiguration.ContainerState state)
Get all the containers where the state is the same than the given one. |
java.util.Set<ContainerConfiguration> |
getContainersConfigurationsForLocalSubdomain()
|
DomainConfiguration |
getDomainConfiguration()
Get the domain configuration. |
java.util.Set<SubDomainConfiguration> |
getSubDomainsConfiguration()
Get all the sub-domain configurations. |
boolean |
hasValidLocalContainerDynamicTopologyConfiguration()
|
boolean |
isContainerStarted(java.lang.String containerName)
Test if the container is started. |
void |
registerLocalContainerOnMaster()
|
void |
removeContainerConfiguration(ContainerConfiguration removedContainer)
Remove container configuration. |
void |
removeSubdomainConfiguration(java.lang.String removedSubdomainName)
Remove subdomain configuration. |
void |
setContainerState(java.lang.String containerName,
ContainerConfiguration.ContainerState state)
Set the given state to the give container. |
void |
updateTopology()
Update the local view of the topology. |
void |
validateDynamicTopology()
Validate the dynamic topology. |
| Method Detail |
|---|
boolean hasValidLocalContainerDynamicTopologyConfiguration()
void addContainerConfiguration(ContainerConfiguration addedContainer)
throws org.ow2.petals.kernel.api.server.PetalsException
addedContainer - the container to add to the current topology
org.ow2.petals.kernel.api.server.PetalsException - Failed to add the container to the current topology
void addSubdomainConfiguration(SubDomainConfiguration addedSubdomain)
throws org.ow2.petals.kernel.api.server.PetalsException
addedSubdomain -
org.ow2.petals.kernel.api.server.PetalsExceptionContainerConfiguration getContainerConfiguration(java.lang.String containerName)
containerName - The name of the targeted container
java.util.Set<ContainerConfiguration> getContainersConfiguration(ContainerConfiguration.ContainerState state)
object -
java.util.Set<ContainerConfiguration> getContainersConfigurationsForLocalSubdomain()
DomainConfiguration getDomainConfiguration()
java.util.Set<SubDomainConfiguration> getSubDomainsConfiguration()
ContainerConfigurationboolean isContainerStarted(java.lang.String containerName)
containerName -
void registerLocalContainerOnMaster()
throws org.ow2.petals.kernel.api.server.PetalsException
org.ow2.petals.kernel.api.server.PetalsException
void removeContainerConfiguration(ContainerConfiguration removedContainer)
throws ConfigurationException
removedContainer -
ConfigurationException
void removeSubdomainConfiguration(java.lang.String removedSubdomainName)
throws ConfigurationException
removedSubdomain -
ConfigurationException
void setContainerState(java.lang.String containerName,
ContainerConfiguration.ContainerState state)
containerName - state - The ontainerConfiguration.ContainerState
void updateTopology()
throws org.ow2.petals.kernel.api.server.PetalsException
org.ow2.petals.kernel.api.server.PetalsException
void validateDynamicTopology()
throws ConfigurationException
ConfigurationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||