Class OMRMultiHostDeployedObject
java.lang.Object
com.sas.services.information.metadata.OMRMultiHostDeployedObject
- All Implemented Interfaces:
MultiHostDeployment,Remote
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddAll(List<HostInterface> host) 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 liststatic MultiHostDeploymentgetInstance(SoftwareComponentInterface metadataObject) Returns 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 hostMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getInstance
public static MultiHostDeployment getInstance(SoftwareComponentInterface metadataObject) throws RemoteException, ServiceException - Throws:
RemoteExceptionServiceException
-
addHost
Description copied from interface:MultiHostDeploymentAdd a new host to the deployment list- Specified by:
addHostin interfaceMultiHostDeployment- Parameters:
host-com.sas.services.information.metadata.Hosthost to be added- Throws:
ServiceExceptionRemoteException
-
getAssociatedHost
Description copied from interface:MultiHostDeploymentFew 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- Specified by:
getAssociatedHostin interfaceMultiHostDeployment- Returns:
- Throws:
ServiceExceptionRemoteException
-
getHosts
Description copied from interface:MultiHostDeploymentGet the host deployment list- Specified by:
getHostsin interfaceMultiHostDeployment- Returns:
java.util.ListList of deployment hosts- Throws:
ServiceExceptionRemoteException
-
getPublicObject
Description copied from interface:MultiHostDeploymentReturns the underneath public object- Specified by:
getPublicObjectin interfaceMultiHostDeployment- Returns:
- Throws:
ServiceExceptionRemoteException
-
isDeployedOnHost
Description copied from interface:MultiHostDeploymentChecks if the host is on the deployment list- Specified by:
isDeployedOnHostin interfaceMultiHostDeployment- Parameters:
host-com.sas.services.information.metadata.Hosthost to check- Returns:
trueif on the listfalseotherwise- Throws:
ServiceExceptionRemoteException
-
removeHost
Description copied from interface:MultiHostDeploymentRemove host from the deployment list- Specified by:
removeHostin interfaceMultiHostDeployment- Parameters:
host-com.sas.services.information.metadata.Hosthost to be removed- Throws:
ServiceExceptionRemoteException
-
setAssociatedMachine
Description copied from interface:MultiHostDeploymentFew 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- Specified by:
setAssociatedMachinein interfaceMultiHostDeployment- Throws:
ServiceExceptionRemoteException
-
getAllHostsNames
Description copied from interface:MultiHostDeploymentGet 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- Specified by:
getAllHostsNamesin interfaceMultiHostDeployment- Returns:
Listof unique host names- Throws:
ServiceExceptionRemoteException
-
addAll
- Specified by:
addAllin interfaceMultiHostDeployment- Throws:
ServiceExceptionRemoteException
-
removeAll
- Specified by:
removeAllin interfaceMultiHostDeployment- Throws:
ServiceExceptionRemoteException
-