To configure a Java class to run when a server starts:
If you have not already done so, in the Change Center of the Administration Console, click Lock & Edit (see Use the Change Center).
Administration Console, expand Environment and
select Startup and Shutdown Classes.
Startup and Shutdown Classes page, click
Configure a New Startup or Shutdown Class: Class
Type page, choose Startup Class.
Then click Next.
Startup Class Properties page, enter a name that
you will use the identify this configuration of your Java class.
You can create multiple named configurations for any
given class. After you have created a class configuration, you
cannot change its name. Instead, delete the configuration and create
a new one with a new name.
Select Targets page, select one or more servers
or deploy the class to all servers in a cluster. Then click
Startup and Shutdown Classes page, click the new
startup class name.
On the Startup Classes: Configuration page,
in the Classpath field, enter the fully
qualified name of the startup class.