public class EnvironmentHostMapping extends Object
| Modifier and Type | Field and Description |
|---|---|
static EnvironmentHostMapping |
INSTANCE
Singleton instance of the EnvironmentHostMapping object
|
| Modifier and Type | Method and Description |
|---|---|
protected Host |
findHost(String nameOrAddress, Topology topology)
Find and return a host by name or address.
|
protected MappedDomain |
findMappedDomain(Host host, Domain topologyDomain, OracleHome topologyOracleHome)
Find the right mappedDomain inside a host.
|
void |
updateNodeManager(NodeManager nodeManager, Topology topology, HashMap<String,oracle.fmwplatform.envspec.lookup.AliasWLSTValues> nodemanagerParameterAlias, Domain topologyDomain, OracleHome topologyOracleHome, Boolean refreshOnly)
Convert a discovered environment NodeManager or machine object to a topology NodeManager object, add this NodeManager as a new host and as a NodeManager reference to the domain mapping.
|
public static final EnvironmentHostMapping INSTANCE
protected Host findHost(String nameOrAddress, Topology topology)
nameOrAddress - address or id to findtopology - Topology object which contains all the hostsprotected MappedDomain findMappedDomain(Host host, Domain topologyDomain, OracleHome topologyOracleHome)
host - which contains oraclehome and domain mappingstopologyDomain - the topology domain object which will be updated, based on the environmentTargettopologyOracleHome - the topology oracleHome object which will be used, based on the environmentTargetpublic void updateNodeManager(NodeManager nodeManager, Topology topology, HashMap<String,oracle.fmwplatform.envspec.lookup.AliasWLSTValues> nodemanagerParameterAlias, Domain topologyDomain, OracleHome topologyOracleHome, Boolean refreshOnly)
nodeManager - discovered Environment NodeManager objecttopology - Topology object which will be updated with new hosts and node managersnodemanagerParameterAlias - requested WLST NodeManager attributes which will be used for the NodeManager tuning parameterstopologyDomain - the topology domain object which will be updated, based on the environmentTargettopologyOracleHome - the topology oracleHome object which will be used, based on the environmentTargetrefreshOnly - only update existing objects or attributes