public class OnlineEnvironment extends DomainEnvironment
clusterId, domainId, serverId, topologyDomain, topologyOracleHome, WLST_CLUSTERS_METHOD, WLST_CONFIGGROUPS_METHOD, WLST_DATASOURCES_METHOD, WLST_DOMAIN_METHOD, WLST_NODEMANAGERS_METHOD, WLST_SERVERS_METHOD, WLST_TEMPLATES_METHOD, wlstInvoker, wlstModulePrefixtopology| Constructor and Description |
|---|
OnlineEnvironment(EnvironmentModel model, ModelTarget target)
OnlineEnvironment constructor which will allow users to create an environment object representing the online query interface into the WebLogic domain
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Disconnect from the WebLogic Managed Server and end the embedded WLST session
|
List<Cluster> |
getClusters()
returns the list of cluster objects of the discovered WebLogic Domain.
|
List<DataSource> |
getDataSources()
returns the list of datasource objects of the discovered WebLogic Domain.
|
Domain |
getDomain()
Returns a Domain object, this object only has fields which are associated with WebLogic Domain properties like JTA timeout etc and does not have any server or cluster information.
|
List<NodeManager> |
getNodeManagers()
Returns the list of NodeManager or machine objects of the discovered WebLogic Domain.
|
List<Server> |
getServers()
Returns list of server objects of the discovered WebLogic Domain
|
endSession, execWLST, getWLSTValue, getWLSTValues, getWLSTValuesByFilter, importModule, retrieveTopologyObjects, startSession, validateEnvironmentTargetpublic OnlineEnvironment(EnvironmentModel model, ModelTarget target) throws FMWEnvSpecException
model - EnvironmentModel which contains a topology with at least the online bootstrap parameterstarget - EnvironmentModelTarget with Domain, CLuster or Server target type which can be used to focus on a particular area of the online WebLogic domainFMWEnvSpecException - on error
public void close()
throws FMWEnvSpecException
FMWEnvSpecException - when disconnect or end session failspublic List<Cluster> getClusters() throws FMWEnvSpecException
getClusters in class DomainEnvironmentFMWEnvSpecException - on errorpublic List<DataSource> getDataSources() throws FMWEnvSpecException
getDataSources in class DomainEnvironmentFMWEnvSpecException - on errorpublic Domain getDomain() throws FMWEnvSpecException
getDomain in class DomainEnvironmentFMWEnvSpecException - on errorpublic List<NodeManager> getNodeManagers() throws FMWEnvSpecException
getNodeManagers in class DomainEnvironmentFMWEnvSpecException - on errorpublic List<Server> getServers() throws FMWEnvSpecException
getServers in class DomainEnvironmentFMWEnvSpecException - on error