org.objectweb.jonas.webapp.jonasadmin.common
Class ModuleItem
java.lang.Object
org.objectweb.jonas.webapp.jonasadmin.common.ModuleItem
- All Implemented Interfaces:
- java.io.Serializable, NameItem
public class ModuleItem
- extends java.lang.Object
- implements NameItem
- Author:
- Adriana.Danes@objectweb.org
ModuleItem objects are used to show management information concerning
modules in a J2EEApplication.
- See Also:
- Serialized Form
Constructor Summary |
ModuleItem()
Default constructor |
ModuleItem(java.lang.String name,
java.lang.String objectName,
java.lang.String filePath)
Constructor |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ModuleItem
public ModuleItem()
- Default constructor
ModuleItem
public ModuleItem(java.lang.String name,
java.lang.String objectName,
java.lang.String filePath)
- Constructor
- Parameters:
name
- the module's nameobjectName
- the OBJECT_NAME of the J2EEDeployedObject corresponding to the modulefilePath
- the path of the source file
getName
public java.lang.String getName()
- Specified by:
getName
in interface NameItem
- Returns:
- Returns the module's name.
setName
public void setName(java.lang.String name)
- Parameters:
name
- the module name
getObjectName
public java.lang.String getObjectName()
- Returns:
- Returns the OBJECT_NAME of the corresponding MBean.
setObjectName
public void setObjectName(java.lang.String objectName)
- Parameters:
objectName
- The OBJECT_NAME to set.
getFilePath
public java.lang.String getFilePath()
- Returns:
- Returns the filePath.
setFilePath
public void setFilePath(java.lang.String filePath)
- Parameters:
filePath
- The filePath to set.