@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 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.
- Author:
- Jerome Dochez
- See Also:
-
Method Summary
-
Method Details
-
prepare
callback from the module loading system when the module enters thePREPARINGphase.- Parameters:
module- the module instance
-