![]() ![]() ![]() ![]() |
Domain: Environment: Startup & Shutdown Classes
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 classpath 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
Name Description Name The name that you specified when you configured the startup or shutdown 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.
Targets A list of current targets for this class.
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
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.
![]() |