|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 |
CLIENT_PROP_DIST_ARCHIVE
Constant for the distribution archive client property. |
static String |
LIBRARY_TYPE
Type of the library created by createLibrary(File, String). |
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 |
static String |
TOOL_APP_CLIENT_RUNTIME
Constant for the application runtime tool. |
static String |
TOOL_JSR109
Constant for the JSR109 tool. |
static String |
TOOL_JWSDP
Constant for the JWSDP tool. |
static String |
TOOL_KEYSTORE
Constant for the KEYSTORE tool. |
static String |
TOOL_KEYSTORE_CLIENT
Constant for the KEYSTORE_CLIENT tool. |
static String |
TOOL_PROP_CLIENT_JAR_LOCATION
Tool property constant for application client jar location. |
static String |
TOOL_PROP_JVM_OPTS
Constant for the JVM options tool property. |
static String |
TOOL_PROP_MAIN_CLASS
Constant for the main class tool property. |
static String |
TOOL_PROP_MAIN_CLASS_ARGS
Constant for the main class arguments tool property. |
static String |
TOOL_TRUSTSTORE
Constant for the TRUSTSTORE tool. |
static String |
TOOL_TRUSTSTORE_CLIENT
Constant for the TRUSTSTORE_CLIENT tool. |
static String |
TOOL_WSCOMPILE
Constant for the WSCOMPILE tool. |
static String |
TOOL_WSGEN
Constant for the WSGEN tool. |
static String |
TOOL_WSIMPORT
Constant for the WSIMPORT tool. |
static String |
TOOL_WSIT
Constant for the WSIT tool. |
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener l)
Register a listener which will be notified when some of the platform's properties change. |
Library |
createLibrary(File location,
String libraryName)
Creates sharable Java library containing all libraries and sources provided by this platform. |
File[] |
getClasspathEntries()
Return classpath entries. |
String |
getDisplayName()
Return platform's display name. |
Image |
getIcon()
Return platform's icon. |
JavaPlatform |
getJavaPlatform()
Return server J2SE platform or null if the platform is unknown, not registered in the IDE. |
Lookup |
getLookup()
Lookup providing a way to find non mandatory technologies supported by the platform. |
File[] |
getPlatformRoots()
Return platform's root directories. |
Set |
getSupportedJavaPlatformVersions()
Return a set of J2SE platform versions this J2EE platform can run with. |
Set |
getSupportedModuleTypes()
Return a list of supported J2EE module types. |
Set |
getSupportedSpecVersions()
Return a list of supported J2EE specification versions. |
Set<String> |
getSupportedSpecVersions(Object moduleType)
Return a list of supported J2EE specification versions for a given module type. |
File[] |
getToolClasspathEntries(String toolName)
Return classpath for the specified tool. |
String |
getToolProperty(String toolName,
String propertyName)
Deprecated. getLookup() should be used to obtain tool specifics |
boolean |
isToolSupported(String toolName)
Deprecated. getLookup() should be used to obtain tool specifics |
void |
removePropertyChangeListener(PropertyChangeListener l)
Remove a listener registered previously. |
boolean |
supportsProfiling()
Is profiling supported by this J2EE platform? |
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 LIBRARY_TYPE
createLibrary(File, String).
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
public static final String TOOL_APP_CLIENT_RUNTIME
TOOL_PROP_MAIN_CLASS,
TOOL_PROP_MAIN_CLASS_ARGS, TOOL_PROP_JVM_OPTS
public static final String TOOL_JSR109
public static final String TOOL_WSCOMPILE
public static final String TOOL_WSIMPORT
public static final String TOOL_WSGEN
public static final String TOOL_WSIT
public static final String TOOL_JWSDP
public static final String TOOL_KEYSTORE
public static final String TOOL_KEYSTORE_CLIENT
public static final String TOOL_TRUSTSTORE
public static final String TOOL_TRUSTSTORE_CLIENT
public static final String TOOL_PROP_MAIN_CLASS
public static final String TOOL_PROP_MAIN_CLASS_ARGS
public static final String TOOL_PROP_JVM_OPTS
public static final String TOOL_PROP_CLIENT_JAR_LOCATION
public static final String CLIENT_PROP_DIST_ARCHIVE
| Method Detail |
|---|
public File[] getClasspathEntries()
public File[] getToolClasspathEntries(String toolName)
toolName - tool name, for example TOOL_APP_CLIENT_RUNTIME.
public String getToolProperty(String toolName,
String propertyName)
getLookup() should be used to obtain tool specifics
The property value uses Ant property format and therefore may contain references to another properties defined either by the client of this API or by the tool itself.
The properties the client may be requited to define are as follows
CLIENT_PROP_DIST_ARCHIVE
toolName - tool name, for example TOOL_APP_CLIENT_RUNTIME.propertyName - tool property name, for example TOOL_PROP_MAIN_CLASS.
public boolean isToolSupported(String toolName)
getLookup() should be used to obtain tool specifics
toolName - tool name, for example TOOL_APP_CLIENT_RUNTIME.
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<String> getSupportedSpecVersions(Object moduleType)
moduleType - one of the constants defined in
J2eeModule
public Set getSupportedModuleTypes()
J2eeModule
class.
public Set getSupportedJavaPlatformVersions()
public boolean supportsProfiling()
public JavaPlatform getJavaPlatform()
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
public Library createLibrary(File location,
String libraryName)
throws IOException
location - sharable libraries locationlibraryName - name of the library
IOException - if the library can't be created for some reasonpublic Lookup getLookup()
|
org.netbeans.modules.j2eeserver/4 1.55.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||