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 DeploymentTypeCONNECTORstatic StringCONNECTOR_NAMEstatic DeploymentTypeDEFAULT_APPstatic StringDEFAULT_APP_NAMEstatic DeploymentTypeINTERNAL_APPstatic StringINTERNAL_APP_NAMEstatic StringSYSTEM_PREFIXstatic StringUSER
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Object o1, Object o2)protected intcompare(ApplicationOrderInfo d1, ApplicationOrderInfo d2)protected intdefaultCompare(Object o1, Object o2)ComparatorgetComparator()booleanisInstance(Object obj)StringtoString()-
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:
comparein interfaceComparator
-
compare
protected int compare(ApplicationOrderInfo d1, ApplicationOrderInfo d2)
-
-