public class OfflineEnvironment 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 |
---|
OfflineEnvironment(EnvironmentModel model, ModelTarget target)
OfflineEnvironment constructor which will allow users to create an environment object representing the offline query interface into the WebLogic domain
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the Weblogic domain and end the embedded WLST session
|
List<Cluster> |
getClusters()
returns the list of cluster objects of the discovered offline WebLogic Domain.
|
protected List<ConfigGroup> |
getConfigGroups()
returns the list of ConfigGroup objects of the discovered offline WebLogic Domain.
|
List<DataSource> |
getDataSources()
returns the list of datasource objects of the discovered offline 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 offline WebLogic Domain.
|
List<Server> |
getServers()
Returns list of server objects of the discovered offline WebLogic Domain In offline mode it is not possible to retrieve the value of a particular WebLogic attribute when it contains the default value.
|
protected List<Template> |
getTemplates()
returns the list of template objects of the discovered offline WebLogic Domain.
|
endSession, execWLST, getWLSTValue, getWLSTValues, getWLSTValuesByFilter, importModule, retrieveTopologyObjects, startSession, validateEnvironmentTarget
public OfflineEnvironment(EnvironmentModel model, ModelTarget target) throws FMWEnvSpecException
model
- EnvironmentModel which contains a topology with at least the offline bootstrap parameterstarget
- EnvironmentModelTarget with Domain, CLuster or Server target type which can be used to focus on a particular area of the offline WebLogic domainFMWEnvSpecException
- on errorpublic void close() throws FMWEnvSpecException
FMWEnvSpecException
- when close domain or end session failspublic List<Cluster> getClusters() throws FMWEnvSpecException
getClusters
in class DomainEnvironment
FMWEnvSpecException
- on errorprotected List<ConfigGroup> getConfigGroups() throws FMWEnvSpecException
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 errorprotected List<Template> getTemplates() throws FMWEnvSpecException
FMWEnvSpecException
- on error