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, wlstModulePrefix
topology
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 is 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, validateEnvironmentTarget
public 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 errorpublic void close() throws FMWEnvSpecException
FMWEnvSpecException
- when disconnect or end session failspublic List<Cluster> getClusters() throws FMWEnvSpecException
getClusters
in class DomainEnvironment
FMWEnvSpecException
- on errorpublic List<DataSource> getDataSources() throws FMWEnvSpecException
getDataSources
in class DomainEnvironment
FMWEnvSpecException
- on errorpublic Domain getDomain() throws FMWEnvSpecException
getDomain
in class DomainEnvironment
FMWEnvSpecException
- on errorpublic List<NodeManager> getNodeManagers() throws FMWEnvSpecException
getNodeManagers
in class DomainEnvironment
FMWEnvSpecException
- on errorpublic List<Server> getServers() throws FMWEnvSpecException
getServers
in class DomainEnvironment
FMWEnvSpecException
- on error