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 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
 void prepare(Module module)
          callback from the module loading system when the module enters the PREPARING phase.
 

Method Detail

prepare

void prepare(Module module)
callback from the module loading system when the module enters the PREPARING phase.

Parameters:
module - the module instance


Copyright © 2013 Oracle Corporation. All Rights Reserved.