|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.common.JModule
public class JModule
This class implements utility methods for the manipulation of application modules.
Field Summary | |
---|---|
static String |
CONF_DIR
name of the directory containig configuration. |
static String |
EAR_CHILD_DIR
|
static String |
EAR_CONFIRM_FILE
|
static String |
EAR_EXTENSION
|
static String |
EJBJAR_CHILD_DIR
Child directory of a expanded container. |
static String |
EJBJAR_CONFIRM_FILE
xml file in a child directory of a expanded container. |
static String |
EJBJAR_EXTENSION
file extension containing the different module types. |
static String |
PROPS_EXTENSION
properties file extension. |
static String |
RAR_CHILD_DIR
|
static String |
RAR_CONFIRM_FILE
|
static String |
RAR_EXTENSION
|
static String |
WAR_CHILD_DIR
|
static String |
WAR_CONFIRM_FILE
|
static String |
WAR_EXTENSION
|
Constructor Summary | |
---|---|
JModule()
|
Method Summary | |
---|---|
static ArrayList |
getDatasourcePropsInDir()
|
static ArrayList |
getFilesInDir(String dirName,
String extension)
|
static ArrayList |
getInstalledContainersInDir(String p_DirName,
String p_Extension,
String p_DirChildConfirm,
String p_FileConfirm)
Return the list of all installed containers in a directory. |
static ArrayList |
getMailFactoryPropsInDir()
|
static ArrayList |
getMailFactoryPropsInDir(String type)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String EJBJAR_EXTENSION
public static final String RAR_EXTENSION
public static final String WAR_EXTENSION
public static final String EAR_EXTENSION
public static final String EJBJAR_CHILD_DIR
public static final String RAR_CHILD_DIR
public static final String WAR_CHILD_DIR
public static final String EAR_CHILD_DIR
public static final String EJBJAR_CONFIRM_FILE
public static final String RAR_CONFIRM_FILE
public static final String WAR_CONFIRM_FILE
public static final String EAR_CONFIRM_FILE
public static final String PROPS_EXTENSION
public static final String CONF_DIR
Constructor Detail |
---|
public JModule()
Method Detail |
---|
public static ArrayList getFilesInDir(String dirName, String extension) throws Exception
Exception
public static ArrayList getDatasourcePropsInDir() throws Exception
Exception
public static ArrayList getMailFactoryPropsInDir(String type) throws Exception
Exception
public static ArrayList getMailFactoryPropsInDir() throws Exception
Exception
public static ArrayList getInstalledContainersInDir(String p_DirName, String p_Extension, String p_DirChildConfirm, String p_FileConfirm) throws Exception
p_DirName
- The name of the directory to findp_Extension
- The extension of container (jar, war, ear, rar)p_DirChildConfirm
- The child directory that confirm the containerp_FileConfirm
- The xml file inside the child directory that confirm the container
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |