|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jtheque.core.managers.module.beans.ModuleContainer
public final class ModuleContainer
Constructor Summary | |
---|---|
ModuleContainer(java.lang.String beanName,
Module infos,
ModuleDefinition definition,
boolean primary)
Construct a new ModuleContainer. |
Method Summary | |
---|---|
java.lang.String |
getBeanName()
Return the name of the bean. |
Module |
getInfos()
Return the infos of the module. |
java.lang.Object |
getModule()
Return the real module. |
ModuleDefinition |
getModuleDefinition()
Return the module definition. |
java.io.File |
getModuleFile()
Return the file of the module. |
BeanMethod |
getPlugMethod()
Return the plug method. |
BeanMethod |
getPrePlugMethod()
Return the preplug method. |
ModuleState |
getState()
Return the current state of the module. |
BeanMethod |
getUnPlugMethod()
Return the unplug method. |
boolean |
hasModuleDefinition()
Indicate if the module has a module definition. |
boolean |
isPrimaryModule()
Indicate if the module is a primary one or not. |
void |
setModule(java.lang.Object module)
Set the module instance. |
void |
setPlugMethod(BeanMethod plugMethod)
Set the plug method. |
void |
setPrePlugMethod(BeanMethod prePlugMethod)
Set the preplug method. |
void |
setState(ModuleState state)
Set the state of the module. |
void |
setUnPlugMethod(BeanMethod unPlugMethod)
Set the unplug method. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModuleContainer(java.lang.String beanName, Module infos, ModuleDefinition definition, boolean primary)
beanName
- The name of the bean.infos
- The informations about the module.definition
- The definition of the module.primary
- A boolean flag indicating if the module is a primary module or not.Method Detail |
---|
public java.lang.Object getModule()
public BeanMethod getPlugMethod()
public void setPlugMethod(BeanMethod plugMethod)
plugMethod
- The plug method.public BeanMethod getPrePlugMethod()
public void setPrePlugMethod(BeanMethod prePlugMethod)
prePlugMethod
- The preplug method.public BeanMethod getUnPlugMethod()
public void setUnPlugMethod(BeanMethod unPlugMethod)
unPlugMethod
- The unplug method.public ModuleState getState()
public void setState(ModuleState state)
state
- The state of the module.public Module getInfos()
public ModuleDefinition getModuleDefinition()
public boolean hasModuleDefinition()
public boolean isPrimaryModule()
public java.io.File getModuleFile()
public java.lang.String getBeanName()
public java.lang.String toString()
toString
in class java.lang.Object
public void setModule(java.lang.Object module)
module
- The module instance.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |