Package com.sun.enterprise.module
Interface LifecyclePolicy
-
@Contract public interface LifecyclePolicy
Modules that wish to invoke special logic when it is loaded, started or stopped should implement this interface.To define an implementation of this in a module, write a class that implements this interface and puts
Serviceon it. Maven will take care of the rest.- See Also:
ManifestConstants.LIFECYLE_POLICY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstart(Module module)Callback when the module enters theREADYstate.voidstop(Module module)Callback before the module starts being unloaded.
-