|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MultiHostDeployment
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 | |
---|---|
void |
addAll(java.util.List<HostInterface> hosts)
|
void |
addHost(HostInterface host)
Add a new host to the deployment list |
java.util.List<java.lang.String> |
getAllHostsNames()
Get the set of all the hosts. |
HostInterface |
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 |
java.util.List<HostInterface> |
getHosts()
Get the host deployment list |
PublicObjectInterface |
getPublicObject()
Returns the underneath public object |
boolean |
isDeployedOnHost(HostInterface host)
Checks if the host is on the deployment list |
void |
removeAll()
|
void |
removeHost(HostInterface host)
Remove host from the deployment list |
void |
setAssociatedMachine(HostInterface host)
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 |
Method Detail |
---|
void addHost(HostInterface host) throws ServiceException, java.rmi.RemoteException
host
- com.sas.services.information.metadata.Host
host to be added
ServiceException
java.rmi.RemoteException
void removeHost(HostInterface host) throws ServiceException, java.rmi.RemoteException
host
- com.sas.services.information.metadata.Host
host to be removed
ServiceException
java.rmi.RemoteException
java.util.List<HostInterface> getHosts() throws ServiceException, java.rmi.RemoteException
java.util.List
List of deployment hosts
ServiceException
java.rmi.RemoteException
java.util.List<java.lang.String> getAllHostsNames() throws ServiceException, java.rmi.RemoteException
List
of unique host names
ServiceException
java.rmi.RemoteException
boolean isDeployedOnHost(HostInterface host) throws ServiceException, java.rmi.RemoteException
host
- com.sas.services.information.metadata.Host
host to check
true
if on the list
false
otherwise
ServiceException
java.rmi.RemoteException
HostInterface getAssociatedHost() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
void setAssociatedMachine(HostInterface host) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
PublicObjectInterface getPublicObject() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
void removeAll() throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
void addAll(java.util.List<HostInterface> hosts) throws ServiceException, java.rmi.RemoteException
ServiceException
java.rmi.RemoteException
|
Foundation |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |