EARUtil Class
- public final class EARUtil
extends Object
Utility constants and convenience methods for working with
Workshop J2EE enterprise application components.
-
Hierarchy
-
Object
EARUtil
public static boolean |
-
isWebProject (IProject project)
- Returns whether the given project is a J2EE Web module.
|
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONNECTOR_MODULE
public static final String
CONNECTOR_MODULE
- Indicates a J2EE Connector Module
EJB_MODULE
public static final String
EJB_MODULE
- Indicates a J2EE EJB Module
J2EE_MODULE_TYPE
public static final String
J2EE_MODULE_TYPE
- Workshop projects that represent J2EE application modules
will have this attribute in their project type.
See IProjectInfo.hasAttribute()
JAVA_MODULE
public static final String
JAVA_MODULE
- Indicates a J2EE Java Module
WEB_APP_MODULE
public static final String
WEB_APP_MODULE
- Indicates a J2EE Web App Module
EARUtil
public EARUtil()
isWebProject(IProject) Method
public static boolean isWebProject(IProject
project)
Returns whether the given project is a J2EE Web module.
Parameters
-
project
- IProject
Returns
- true if the project's type attributes identify it as a J2EE Web module.