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

TargetType

public final class TargetType extends Object

Fields Summary
public static final TargetType
CONFIG
A named configuration
public static final TargetType
SERVER
A named server of any type: not including the domain admin server, a clustered server instance, an unclustered server instance
public static final TargetType
DOMAIN
The domain
public static final TargetType
CLUSTER
A named cluster
public static final TargetType
NODE_AGENT
A named node agent
public static final TargetType
STANDALONE_SERVER
A stand alone server instance
public static final TargetType
UNCLUSTERED_SERVER
An unclustered server instance
public static final TargetType
STANDALONE_CLUSTER
A stand alone cluster
public static final TargetType
DAS
The domain administration server
private int
_type
private String
_name
Constructors Summary
private TargetType(int type, String name)

    
        
    
        _type = type;
        _name = name;
    
Methods Summary
public booleanequals(java.lang.Object obj)

        if (obj instanceof TargetType) {
            return ((TargetType)obj).getType() == this.getType() ? true : false;
        }
        return false;
    
public java.lang.StringgetName()

        return _name;
    
intgetType()

        return _type;