public abstract class DomainEnvironment extends Environment
Modifier and Type | Field and Description |
---|---|
protected String |
clusterId |
protected String |
domainId |
protected String |
serverId |
protected Domain |
topologyDomain |
protected OracleHome |
topologyOracleHome |
protected oracle.fmwplatform.wlst.EmbeddedWLSTInvoker |
wlstInvoker |
protected static String |
wlstModulePrefix |
topology
Constructor and Description |
---|
DomainEnvironment() |
Modifier and Type | Method and Description |
---|---|
protected void |
endSession()
cleanup the embedded WLST session.
|
protected void |
execWLST(String command)
Just execute a WLST command in the embedded WLST session
|
oracle.fmwplatform.wlst.EmbeddedWLSTInvoker |
getWlstInvoker() |
protected void |
retrieveTopologyObjects(Topology topology)
Retrieve the right Oracle Home and Domain from the topology object.
|
protected void |
startSession(String oracleHome)
start an embedded WLST session.
|
protected void |
validateEnvironmentTarget(ModelTarget target,
EnvironmentModel model,
String envType)
Validate the EnvironmentTarget so it can be used for Domain discovery, it should of type Domain.
|
protected static String wlstModulePrefix
protected oracle.fmwplatform.wlst.EmbeddedWLSTInvoker wlstInvoker
protected String domainId
protected String serverId
protected String clusterId
protected OracleHome topologyOracleHome
protected Domain topologyDomain
public oracle.fmwplatform.wlst.EmbeddedWLSTInvoker getWlstInvoker()
getWlstInvoker
in class Environment
protected void endSession()
protected void execWLST(String command) throws FMWEnvSpecException
command
- The command to executeFMWEnvSpecException
- on errorprotected void retrieveTopologyObjects(Topology topology) throws FMWEnvSpecException
topology
- The topology object which contains the online or offline domain bootstrap informationFMWEnvSpecException
- on errorprotected void startSession(String oracleHome) throws FMWEnvSpecException
oracleHome
- this oracle home will be used for all the library referencesFMWEnvSpecException
- when WLST can't be startedprotected void validateEnvironmentTarget(ModelTarget target, EnvironmentModel model, String envType) throws FMWEnvSpecException
target
- EnvironmentModelTarget with Domain, CLuster or Server target type which can be used to focus on a
particular area of the offline WebLogic domainmodel
- the EnvironmentModel objectenvType
- OfflineEnvironment or OnlineEnvironmentFMWEnvSpecException
- on error