For instructions on how to deploy a lifecycle module, see the Oracle GlassFish Server 3.0.1 Application Deployment Guide, or see the asadmin create-lifecycle-module command in the Oracle GlassFish Server 3.0.1 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.