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 referencing this config
return ClusterHelper.getClustersReferencingConfig(getConfigContext(), getName());
|
public java.lang.String | getConfigRef()
return getName();
|
public com.sun.enterprise.admin.target.ConfigTarget | getConfigTarget()
return this;
|
public com.sun.enterprise.config.serverbeans.Config[] | getConfigs()Return the configuration
Config[] configs = new Config[1];
configs[0] = ConfigAPIHelper.getConfigByName(getConfigContext(), getName());
return configs;
|
public com.sun.enterprise.config.serverbeans.NodeAgent[] | getNodeAgents()
throw new ConfigException(strMgr.getString("target.not_supported",
"getNodeAgents", getType().getName()));
|
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 in referencing this config
return ServerHelper.getServersReferencingConfig(getConfigContext(), getName());
|
public java.lang.String | getTargetObjectName(java.lang.String[] tokens)
checkTokens(tokens, 1);
return (tokens[0] + ":type=config,category=config,name=" + getName());
|
public TargetType | getType()
return TargetType.CONFIG;
|