Administration Console Online Help

Previous Next Open TOC in new window
Content starts here

Startup and Shutdown Classes

Column Display     Related Tasks     Related Topics

Startup and shutdown classes are Java programs that you create to provide custom, system-wide services for your applications. You add the classes to the WebLogic Server class path and then configure them to load and run when a server starts or shuts down.

This page summarizes the startup and shutdown classes that have been configured in the current domain. You must deploy each class on one or more specific servers.

By default, startup classes are loaded and run after all other server subsystems have initialized and after the server deploys modules. Shutdown classes are loaded and run when you gracefully shut down a server.

Column Display

You can show fewer or additional data points on this page by expanding Customize this table and modifying the Column Display list. Each data point displays in its own table column.

The following table lists all of the data points that you can display in columns on this page.

Name Description
Name

The name that you specified when you configured the startup or shutdown class.

Targets

A list of current targets for this class.

Type

Indicates whether this is a startup class or a shutdown class.

Class Name

The fully qualified name of a class to load and run. The class must be on the server's classpath.

For example, mycompany.mypackage.myclass

MBean Attribute:
ClassDeploymentMBean.ClassName

Changes take effect after you redeploy the module or restart the server.

Deployment Order

A priority that the server uses to determine when it deploys an item. The priority is relative to other deployable items of the same type.

For example, the server prioritizes and deploys all EJBs before it prioritizes and deploys startup classes.

Items with the lowest Deployment Order value are deployed first. There is no guarantee on the order of deployments with equal Deployment Order values. There is no guarantee of ordering across clusters.

MBean Attribute:
ClassDeploymentMBean.DeploymentOrder

Minimum value: 0

Maximum value: 2147483647

Arguments

Arguments that a server uses to initialize a class.

Separate multiple arguments with a comma. For example:
first=MyFirstName,last=MyLastName

MBean Attribute:
ClassDeploymentMBean.Arguments

Changes take effect after you redeploy the module or restart the server.

Related Tasks

Related Topics


Back to Top