|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class is used to activate the module during the process of module instalation. Examples of module activation actions are:
CREATE_DATA_COLLECTION_BEFORE, CREATE_DATA_COLLECTION_AFTER and
CREATE_DATA_COLLECTION_NEVER indicates when corresponding data collection should be
created.
| Field Summary | |
static int |
CREATE_DATA_COLLECTION_AFTER
This consatant indicates that first createModule will be called
and after that data collection corresponding to module packed in bmd file
will be created. |
static int |
CREATE_DATA_COLLECTION_BEFORE
This consatant indicates that first the data collection corresponding to module packed in bmd file will be created, after that createModule will be called. |
static int |
CREATE_DATA_COLLECTION_NEVER
This consatant indicates that createModule completely
responsible for creation of data collection corresponding to module packed in bmd file. |
| Method Summary | |
Module |
createModule(javax.swing.JDialog owner,
Repository parent,
java.util.jar.JarFile moduleFile,
java.lang.String classpath,
org.apache.log4j.Category cat,
CreateDataCollectionController controller)
Creates the module with initialised internal structure from moduleFile . |
int |
whenCreateDataCollection()
Indicates when module data collection should be created by ModulePackager. |
| Field Detail |
public static final int CREATE_DATA_COLLECTION_BEFORE
createModule will be called.
public static final int CREATE_DATA_COLLECTION_AFTER
createModule will be called
and after that data collection corresponding to module packed in bmd file
will be created.
public static final int CREATE_DATA_COLLECTION_NEVER
createModule completely
responsible for creation of data collection corresponding to module packed in bmd file.
| Method Detail |
public Module createModule(javax.swing.JDialog owner,
Repository parent,
java.util.jar.JarFile moduleFile,
java.lang.String classpath,
org.apache.log4j.Category cat,
CreateDataCollectionController controller)
throws java.lang.Exception
java.lang.Exceptionpublic int whenCreateDataCollection()
ModulePackager.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||