public class OracleHomeEnvironment extends Environment
Modifier and Type | Field and Description |
---|---|
protected OracleHome |
topologyOracleHome |
topology
Constructor and Description |
---|
OracleHomeEnvironment(EnvironmentModel model,
ModelTarget target)
OracleHomeEnvironment constructor which will allow users to create an environment object representing the query
interface into the oracleHome
|
Modifier and Type | Method and Description |
---|---|
List<String> |
getDistributionNames() |
String |
getDistributionVersion(String distroName) |
List<String> |
getPatches() |
oracle.fmwplatform.wlst.EmbeddedWLSTInvoker |
getWlstInvoker() |
protected void |
retrieveTopologyObjects(Topology topology)
Retrieve the right Oracle Home from the topology object.
|
protected void |
validateEnvironmentTarget(ModelTarget target,
EnvironmentModel model)
Validate the EnvironmentModelTarget so it can be used for the OracleHome discovery, it should be of type
OracleHome or Domain.
|
protected OracleHome topologyOracleHome
public OracleHomeEnvironment(EnvironmentModel model, ModelTarget target) throws FMWEnvSpecException
model
- EnvironmentModel which contains a topology with at least the OracleHome bootstrap parameterstarget
- EnvironmentModelTarget with OracleHome as target type which can be used to focus on a particular area of
an OracleHomeFMWEnvSpecException
- if an error occurspublic oracle.fmwplatform.wlst.EmbeddedWLSTInvoker getWlstInvoker()
getWlstInvoker
in class Environment
protected void retrieveTopologyObjects(Topology topology) throws FMWEnvSpecException
topology
- The topology object which contains the OracleHome object with its bootstrap informationFMWEnvSpecException
- when the OracleHome reference cannot be found in the topology.protected void validateEnvironmentTarget(ModelTarget target, EnvironmentModel model) throws FMWEnvSpecException
target
- EnvironmentModelTarget with OracleHome as target type which can be used to focus on a particular
OracleHome object in the topology.model
- the modelFMWEnvSpecException
- when the OracleHome reference id is empty