Enum DeploymentTracing.AppStage
- java.lang.Object
-
- java.lang.Enum<DeploymentTracing.AppStage>
-
- org.glassfish.internal.deployment.DeploymentTracing.AppStage
-
- All Implemented Interfaces:
Serializable
,Comparable<DeploymentTracing.AppStage>
- Enclosing class:
- DeploymentTracing
public static enum DeploymentTracing.AppStage extends Enum<DeploymentTracing.AppStage>
Various stages that are tracked in StructuredDeploymentTracing. The stages can carry additional information - a component.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASS_SCANNING
Collect information on annotated types.CLEANUP
Cleanup deletes data of inactive application.CONTAINER_START
First start of a subsystem handling specific container.CREATE_CLASSLOADER
Creation of application classloader.CREATE_DEPLOYMENT_CONTEXT
Creation of deployment context.DETERMINE_APP_NAME
Determine name of an app.INITIALIZE
Final step before starting an application.LOAD
Load the application code and prepare runtime structures.OPENING_ARCHIVE
Activities related to reading contents of application archive.PREPARE
Preparation of server components that will handle the application and validation of application.PROCESS_EVENTS
Processing of event hooks.REGISTRATION
Update domain configuration with information on new application.RELOAD
Reload the application code.START
Starting application.SWITCH_VERSIONS
Coordinate version switch.TRANSFORM_ARCHIVE
Activities related to transforming the contents of application archive from javax.* to jakarta.* and vice-versa.VALIDATE_TARGET
Validate whether deployment is fit for specified target.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DeploymentTracing.AppStage
valueOf(String name)
Returns the enum constant of this type with the specified name.static DeploymentTracing.AppStage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPENING_ARCHIVE
public static final DeploymentTracing.AppStage OPENING_ARCHIVE
Activities related to reading contents of application archive. Component refers to type of service being looked up in the server.
-
TRANSFORM_ARCHIVE
public static final DeploymentTracing.AppStage TRANSFORM_ARCHIVE
Activities related to transforming the contents of application archive from javax.* to jakarta.* and vice-versa.
-
VALIDATE_TARGET
public static final DeploymentTracing.AppStage VALIDATE_TARGET
Validate whether deployment is fit for specified target. Componentcommand
validates correctness of the command parameter, componentregistry
validates possibility of deployment to target instance(s).
-
CREATE_DEPLOYMENT_CONTEXT
public static final DeploymentTracing.AppStage CREATE_DEPLOYMENT_CONTEXT
Creation of deployment context. Deployment context aggregates all information on a deployment process, and there are two phases with two distinct contexts - initial and full.
-
PROCESS_EVENTS
public static final DeploymentTracing.AppStage PROCESS_EVENTS
Processing of event hooks. During deployment, the process exposes several extensions points by means of event bus. The component of this span listsEventTypes.name
of the event being sent and synchronously processed by respective hooks.
-
DETERMINE_APP_NAME
public static final DeploymentTracing.AppStage DETERMINE_APP_NAME
Determine name of an app. App name is looked up in variety of descriptors and algorithms defined by the specifications. Component distinguishes these parts of determination.
-
CLEANUP
public static final DeploymentTracing.AppStage CLEANUP
Cleanup deletes data of inactive application. Is can also cause surprising delayes due to filesystem locks (usually on Windows). Components hints on server subdirectory being cleaned (applications or generated).
-
SWITCH_VERSIONS
public static final DeploymentTracing.AppStage SWITCH_VERSIONS
Coordinate version switch. Version switching involves disabling previous version of application on the target, and that can take substantial time
-
PREPARE
public static final DeploymentTracing.AppStage PREPARE
Preparation of server components that will handle the application and validation of application. Context of the event points at container being prepared, and component at type of server component in preparation. An example of preparation step is EclipseLink's class weaving.
-
INITIALIZE
public static final DeploymentTracing.AppStage INITIALIZE
Final step before starting an application. Good example of initialization step is starting up EJB Timer Service when needed.
-
START
public static final DeploymentTracing.AppStage START
Starting application. This is where application code gets first executed, all of the application-defined components declared to run at startup are run.
-
REGISTRATION
public static final DeploymentTracing.AppStage REGISTRATION
Update domain configuration with information on new application.
-
CLASS_SCANNING
public static final DeploymentTracing.AppStage CLASS_SCANNING
Collect information on annotated types.
-
CONTAINER_START
public static final DeploymentTracing.AppStage CONTAINER_START
First start of a subsystem handling specific container.
-
CREATE_CLASSLOADER
public static final DeploymentTracing.AppStage CREATE_CLASSLOADER
Creation of application classloader. This is usually followed by making this classloader a context classloader for deploying thread.
-
LOAD
public static final DeploymentTracing.AppStage LOAD
Load the application code and prepare runtime structures.
-
RELOAD
public static final DeploymentTracing.AppStage RELOAD
Reload the application code.
-
-
Method Detail
-
values
public static DeploymentTracing.AppStage[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (DeploymentTracing.AppStage c : DeploymentTracing.AppStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DeploymentTracing.AppStage valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-