Methods Summary |
---|
public com.sun.enterprise.config.serverbeans.ApplicationRef[] | getApplicationRefs()
throw new ConfigException(strMgr.getString("target.not_supported",
"getApplicationRefs", getType().getName()));
|
public com.sun.enterprise.config.serverbeans.Cluster[] | getClusters()Return all the clusters who contain instances managed by this node agent
return ClusterHelper.getClustersForNodeAgent(getConfigContext(), getName());
|
public java.lang.String | getConfigRef()
return null;
|
public ConfigTarget | getConfigTarget()
throw new ConfigException(strMgr.getString(
"target.no_config_for_node_agent"));
|
public com.sun.enterprise.config.serverbeans.Config[] | getConfigs()Return the configuration associated with this Node Agent.
throw new ConfigException(strMgr.getString("target.not_supported",
"getConfigs", getType().getName()));
|
public com.sun.enterprise.config.serverbeans.NodeAgent[] | getNodeAgents()Return the node agent
NodeAgent[] agents = new NodeAgent[1];
agents[0] = NodeAgentHelper.getNodeAgentByName(getConfigContext(), getName());
return agents;
|
public com.sun.enterprise.config.serverbeans.ResourceRef[] | getResourceRefs()
throw new ConfigException(strMgr.getString("target.not_supported",
"getResourceRefs", getType().getName()));
|
public com.sun.enterprise.config.serverbeans.Server[] | getServers()Return all the servers managed by the node agent
return ServerHelper.getServersOfANodeAgent(getConfigContext(), getName());
|
public java.lang.String | getTargetObjectName(java.lang.String[] tokens)
checkTokens(tokens, 1);
return (tokens[0] + ":type=node-agent,category=config,name=" + getName());
|
public TargetType | getType()
return TargetType.NODE_AGENT;
|