FileDocCategorySizeDatePackage
Target.javaAPI DocGlassfish v2 API4454Fri May 04 22:34:10 BST 2007com.sun.enterprise.admin.target

Target

public abstract class Target extends Object implements Serializable

Fields Summary
private static final com.sun.enterprise.util.i18n.StringManager
strMgr
i18n strings manager object
private final String
name
private final transient com.sun.enterprise.config.ConfigContext
cc
Constructors Summary
Target(String name, com.sun.enterprise.config.ConfigContext cc)


       
    
        checkArg(name, strMgr.getString("target.name"));
        checkArg(cc, strMgr.getString("target.config_context"));
        this.name   = name;
        this.cc     = cc;
    
Methods Summary
protected voidcheckArg(java.lang.Object o, java.lang.Object name)

        if (null == o)
        {
            throw new IllegalArgumentException(
                strMgr.getString("target.cant_be_null", name.toString()));
        }
    
protected voidcheckTokens(java.lang.String[] tokens, int minLen)

        checkArg(tokens, name);
        if (tokens.length < minLen)
        {
            throw new IllegalArgumentException(
                strMgr.getString("target.min_token_length", "" + minLen));
        }
    
public abstract com.sun.enterprise.config.serverbeans.ApplicationRef[]getApplicationRefs()

public abstract com.sun.enterprise.config.serverbeans.Cluster[]getClusters()

protected com.sun.enterprise.config.ConfigContextgetConfigContext()

        return cc;
    
public abstract java.lang.StringgetConfigRef()

public abstract ConfigTargetgetConfigTarget()

public abstract com.sun.enterprise.config.serverbeans.Config[]getConfigs()

public java.lang.StringgetName()

        return name;
    
public abstract com.sun.enterprise.config.serverbeans.NodeAgent[]getNodeAgents()

public abstract com.sun.enterprise.config.serverbeans.ResourceRef[]getResourceRefs()

public abstract com.sun.enterprise.config.serverbeans.Server[]getServers()

public abstract java.lang.StringgetTargetObjectName(java.lang.String[] tokens)

public abstract TargetTypegetType()