Top Description Methods
com.sun.enterprise.module

public Interface ImportPolicy

Annotations
@Contract
Imports
org.jvnet.hk2.annotations.Contract, .Service

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
ManifestConstants#IMPORT_POLICY

Method Summary

Modifier and TypeMethod and Description
public void
prepare(HK2Module
the module instance
module
)

callback from the module loading system when the module enters the PREPARING phase.

Method Detail

prepareback to summary
public void prepare(HK2Module module)

callback from the module loading system when the module enters the PREPARING phase.

Parameters
module:HK2Module

the module instance