org.netbeans.modules.j2ee.deployment.plugins.api |
Plugin API
The module
layer
contains two
important types of information. Plugins register deployment factory, xml file
that describes the plugin and additional factory classes for optional
fuctionality. Modules that bundle J2EE servers can use layer for registration
of J2EE servers instances.
An additional xml file is provided when a plugin is
turned into a module to provide additional information. Class files
are also supplied. This additional information is put into a netbeans
modules that uses the deployment plugin as an external resource.
The dtd for this xml file is available.
|
Java Source File Name | Type | Comment |
AppChangeDescriptor.java | Interface | This interface allows a plugin to receive information about what in a module
or application has changed since the last deployment. |
FileJ2eeModuleQuery.java | Class | Finds the J2EE module for a file. |
InstanceCreationException.java | Class | |
InstanceProperties.java | Class | A way to ask the IDE to store customized information about a server instance
and make it available to a plugin.
Typical usage for create new instance would be like this:
InstanceProperties props = InstanceProperties.getInstanceProperties(url);
if (props == null)
props = InstanceProperties.createInstanceProperties(url, user, password,
displayName);
props.setProperty(prop1, value1);
. |
InstancePropertiesTest.java | Class | |
ModuleChangeDescriptor.java | Interface | This interface allows a plugin to find out what about a module
or application has changed since the last deployment. |
ServerDebugInfo.java | Class | Class to communicate the debugging information between plugin, server api and IDE. |
ServerProgress.java | Class | This is an utility class to avoid exposing deployment interface
javax.enterprise.deploy.spi.status.ProgressObject directly in
server management SPI
StartServer .
Typical usage is for plugin StartServer implementation to create
instance of ServerProgress and return it to caller of
startDeploymentManager, stopDeploymentManager and startDebugging. |
UISupport.java | Class | UI support for plugins provided by the j2eeserver. |