|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.netbeans.modules.j2ee.deployment.plugins.api.J2eePlatformImpl
public abstract class J2eePlatformImpl
Base SPI interface for J2eePlatform. The 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_DISPLAY_NAME
Display name property |
static String |
PROP_LIBRARIES
Libraries property |
static String |
PROP_PLATFORM_ROOTS
Platform roots property |
Constructor Summary | |
---|---|
J2eePlatformImpl()
|
Method Summary | |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Register a listener which will be notified when some of the platform's properties change. |
void |
firePropertyChange(String propName,
Object oldValue,
Object newValue)
Fire PropertyChange to all registered PropertyChangeListeners. |
abstract String |
getDisplayName()
Return platform's display name. |
abstract Image |
getIcon()
Return an icon describing the platform. |
abstract org.netbeans.spi.project.libraries.LibraryImplementation[] |
getLibraries()
Return platform's libraries. |
abstract File[] |
getPlatformRoots()
Return platform's root directories. |
abstract Set |
getSupportedModuleTypes()
Return a list of supported J2EE module types. |
abstract Set |
getSupportedSpecVersions()
Return a list of supported J2EE specification versions. |
abstract File[] |
getToolClasspathEntries(String toolName)
Return classpath for the specified tool. |
abstract 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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROP_DISPLAY_NAME
public static final String PROP_LIBRARIES
public static final String PROP_PLATFORM_ROOTS
Constructor Detail |
---|
public J2eePlatformImpl()
Method Detail |
---|
public abstract org.netbeans.spi.project.libraries.LibraryImplementation[] getLibraries()
public abstract String getDisplayName()
public abstract Image getIcon()
public abstract File[] getPlatformRoots()
public abstract File[] getToolClasspathEntries(String toolName)
toolName
- tool's name e.g. "wscompile".
public abstract boolean isToolSupported(String toolName)
toolName
- tool's name e.g. "wscompile".
true
if platform supports tool of the given name,
false
otherwise.public abstract Set getSupportedSpecVersions()
J2eeModule
class.
public abstract Set getSupportedModuleTypes()
J2eeModule
class.
public final void addPropertyChangeListener(PropertyChangeListener l)
l
- listener which should be added.public final void removePropertyChangeListener(PropertyChangeListener l)
l
- listener which should be removed.public final void firePropertyChange(String propName, Object oldValue, Object newValue)
propName
- property name.oldValue
- old value.newValue
- new value.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |