Interface MultiHostDeployment
- All Superinterfaces:
Remote
- All Known Implementing Classes:
OMRMultiHostDeployedObject
public interface MultiHostDeployment
extends Remote
Some server public types like stored process server object spawner and workspace servers
currently support multiple host deployment.
This interface will help all the public objects to
support the operations based on multiple host deployment
The implementor should always wrap the public object inside it
public MultiHostDeploymentImpl(MetadataInterface metadataObject)
and each public type supporting such multiple host deployment should expose
accessor method to let the client access its MultiHostDeployment object
E.G StroredProcessServer then should expose a method sothing like
public MultiHostDeployment getMultiHostDeploymentOperator();
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(List<HostInterface> hosts) voidaddHost(HostInterface host) Add a new host to the deployment listList<String> Get the set of all the hosts.Few clients still use associated machine association to check the public object deployment host This method is used for those clients which are using this association to get the single associated hostList<HostInterface> getHosts()Get the host deployment listReturns the underneath public objectbooleanChecks if the host is on the deployment listvoidvoidremoveHost(HostInterface host) Remove host from the deployment listvoidFew clients still use associated machine association to check the public object deployment host This method is used for those clients which are using this association to add the single associated host
-
Method Details
-
addHost
Add a new host to the deployment list- Parameters:
host-com.sas.services.information.metadata.Hosthost to be added- Throws:
ServiceExceptionRemoteException
-
removeHost
Remove host from the deployment list- Parameters:
host-com.sas.services.information.metadata.Hosthost to be removed- Throws:
ServiceExceptionRemoteException
-
getHosts
Get the host deployment list- Returns:
java.util.ListList of deployment hosts- Throws:
ServiceExceptionRemoteException
-
getAllHostsNames
Get the set of all the hosts. There are places where the host information is found for a server 1. Associated machine 2. Connection host name 3. Machine group software tree- Returns:
Listof unique host names- Throws:
ServiceExceptionRemoteException
-
isDeployedOnHost
Checks if the host is on the deployment list- Parameters:
host-com.sas.services.information.metadata.Hosthost to check- Returns:
trueif on the listfalseotherwise- Throws:
ServiceExceptionRemoteException
-
getAssociatedHost
Few clients still use associated machine association to check the public object deployment host This method is used for those clients which are using this association to get the single associated host- Returns:
- Throws:
ServiceExceptionRemoteException
-
setAssociatedMachine
Few clients still use associated machine association to check the public object deployment host This method is used for those clients which are using this association to add the single associated host- Throws:
ServiceExceptionRemoteException
-
getPublicObject
Returns the underneath public object- Returns:
- Throws:
ServiceExceptionRemoteException
-
removeAll
- Throws:
ServiceExceptionRemoteException
-
addAll
- Throws:
ServiceExceptionRemoteException
-