For instructions on how to deploy a lifecycle module, see the Sun GlassFish Enterprise Server v3 Application Deployment Guide, or see the asadmin create-lifecycle-module command in the Sun GlassFish Enterprise Server v3 Reference Manual.
You do not need to specify a classpath for the lifecycle module if you place it in the domain-dir/lib or domain-dir/lib/classes directory for the Domain Administration Server.