Package com.sun.enterprise.module
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 in
PREPARING
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.
- See Also:
-
Method Summary
-
Method Details
-
prepare
callback from the module loading system when the module enters thePREPARING
phase.- Parameters:
module
- the module instance
-