|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.j2ee.deployment.devmodules.api.J2eePlatform
public final class J2eePlatform
J2eePlatform describes the target environment J2EE applications are build against and subsequently deployed to. Each server instance defines its own J2EE platform.
Field Summary | |
---|---|
static String |
PROP_CLASSPATH
Classpath property |
static String |
PROP_DISPLAY_NAME
Display name property |
static String |
PROP_LIBRARIES
Libraries property |
static String |
PROP_PLATFORM_ROOTS
Platform roots property |
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Register a listener which will be notified when some of the platform's properties change. |
File[] |
getClasspathEntries()
Return classpath entries. |
String |
getDisplayName()
Return platform's display name. |
Image |
getIcon()
Return platform's icon. |
File[] |
getPlatformRoots()
Return platform's root directories. |
Set |
getSupportedModuleTypes()
Return a list of supported J2EE module types. |
Set |
getSupportedSpecVersions()
Return a list of supported J2EE specification versions. |
File[] |
getToolClasspathEntries(String toolName)
Return classpath for the specified tool. |
boolean |
isToolSupported(String toolName)
Specifies whether a tool of the given name is supported by this platform. |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a listener registered previously. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PROP_DISPLAY_NAME
public static final String PROP_LIBRARIES
public static final String PROP_CLASSPATH
public static final String PROP_PLATFORM_ROOTS
Method Detail |
---|
public File[] getClasspathEntries()
public File[] getToolClasspathEntries(String toolName)
toolName
- tool's name e.g. "wscompile".
public boolean isToolSupported(String toolName)
toolName
- tool's name e.g. "wscompile".
true
if platform supports tool of the given name,
false
otherwise.public String getDisplayName()
public Image getIcon()
public File[] getPlatformRoots()
public Set getSupportedSpecVersions()
J2eeModule
class.
public Set getSupportedModuleTypes()
J2eeModule
class.
public void addPropertyChangeListener(PropertyChangeListener l)
l
- listener which should be added.public void removePropertyChangeListener(PropertyChangeListener l)
l
- listener which should be removed.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |