Class DeploymentType
- java.lang.Object
-
- org.glassfish.internal.deployment.DeploymentType
-
- All Implemented Interfaces:
Comparator
public class DeploymentType extends Object implements Comparator
DeploymentType defines the various deployment entity types, and deployment ordering within the types.For an ordering among the various types, please refer to
DeploymentOrder
.Note that the comparator of the deployment types should return a consistent value during the lifetime of the deployment objects, e.g. it should not depend on values of mutable fields of the deployment objects.
The list of deployment types are as follows:
- INTERNAL_APP
- JDBC_SYS_RES
- DEPLOYMENT_HANDLER
- JMS_SYS_RES
- RESOURCE_DEPENDENT_DEPLOYMENT_HANDLER
- STARTUP_CLASS
- WLDF_SYS_RES
- LIBRARY
- CONNECTOR
- DEFAULT_APP
- COHERENCE_CLUSTER_SYS_RES
- CUSTOM_SYS_RES
-
-
Field Summary
Fields Modifier and Type Field Description static DeploymentType
CONNECTOR
static String
CONNECTOR_NAME
static DeploymentType
DEFAULT_APP
static String
DEFAULT_APP_NAME
static DeploymentType
INTERNAL_APP
static String
INTERNAL_APP_NAME
static String
SYSTEM_PREFIX
static String
USER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(Object o1, Object o2)
protected int
compare(ApplicationOrderInfo d1, ApplicationOrderInfo d2)
protected int
defaultCompare(Object o1, Object o2)
Comparator
getComparator()
boolean
isInstance(Object obj)
String
toString()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Field Detail
-
SYSTEM_PREFIX
public static final String SYSTEM_PREFIX
- See Also:
- Constant Field Values
-
USER
public static final String USER
- See Also:
- Constant Field Values
-
INTERNAL_APP_NAME
public static final String INTERNAL_APP_NAME
- See Also:
- Constant Field Values
-
CONNECTOR_NAME
public static final String CONNECTOR_NAME
- See Also:
- Constant Field Values
-
DEFAULT_APP_NAME
public static final String DEFAULT_APP_NAME
- See Also:
- Constant Field Values
-
INTERNAL_APP
public static final DeploymentType INTERNAL_APP
-
DEFAULT_APP
public static final DeploymentType DEFAULT_APP
-
CONNECTOR
public static final DeploymentType CONNECTOR
-
-
Method Detail
-
isInstance
public boolean isInstance(Object obj)
-
getComparator
public Comparator getComparator()
-
compare
public int compare(Object o1, Object o2)
- Specified by:
compare
in interfaceComparator
-
compare
protected int compare(ApplicationOrderInfo d1, ApplicationOrderInfo d2)
-
-