Package com.sun.enterprise.module
Interface ImportPolicy
-
@Contract public interface ImportPolicy
Modules that wish to programmatically control their list of imports can implement this interface. Implementation of this interface will be called when the module is inPREPARING
state.To define an implementation of this in a module, write a class that implements this interface and puts
Service
on it. Maven will take care of the rest.- Author:
- Jerome Dochez
- See Also:
ManifestConstants.IMPORT_POLICY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
prepare(Module module)
callback from the module loading system when the module enters thePREPARING
phase.
-