|
||||||||||
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.Deployment
public final class Deployment
Nested Class Summary | |
---|---|
static class |
Deployment.DeploymentException
|
static interface |
Deployment.Logger
|
Method Summary | |
---|---|
void |
addInstanceListener(InstanceListener l)
Register an instance listener that will listen to server instances changes. |
String |
deploy(J2eeModuleProvider jmp,
boolean debugmode,
String clientModuleUrl,
String clientUrlPart,
boolean forceRedeploy)
Deploys a web J2EE module to server. |
String |
deploy(J2eeModuleProvider jmp,
boolean debugmode,
String clientModuleUrl,
String clientUrlPart,
boolean forceRedeploy,
Deployment.Logger logger)
|
static Deployment |
getDefault()
|
String |
getDefaultServerInstanceID()
|
String[] |
getInstancesOfServer(String id)
|
J2eePlatform |
getJ2eePlatform(String serverInstanceID)
Return server instance's J2eePlatform . |
String |
getServerDisplayName(String id)
|
String |
getServerID(String instanceId)
|
String[] |
getServerIDs()
|
String |
getServerInstanceDisplayName(String id)
|
String[] |
getServerInstanceIDs()
|
String[] |
getServerInstanceIDs(Object[] moduleTypes)
Return ServerInstanceIDs of all registered server instances that support specified module types. |
String[] |
getServerInstanceIDs(Object[] moduleTypes,
String specVersion)
Return ServerInstanceIDs of all registered server instances that support specified module types and J2EE specification versions. |
String[] |
getServerInstanceIDs(Object[] moduleTypes,
String specVersion,
String[] tools)
Return ServerInstanceIDs of all registered server instances that support specified module types, J2EE specification version and tools. |
void |
removeInstanceListener(InstanceListener l)
Remove an instance listener which has been registered previously. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Deployment getDefault()
public String deploy(J2eeModuleProvider jmp, boolean debugmode, String clientModuleUrl, String clientUrlPart, boolean forceRedeploy) throws Deployment.DeploymentException
clientModuleUrl
- URL of module within a J2EE Application that
should be used as a client (can be null for standalone modules)
Note: if null for J2EE application the first web or client module will be used.
Deployment.DeploymentException
public String deploy(J2eeModuleProvider jmp, boolean debugmode, String clientModuleUrl, String clientUrlPart, boolean forceRedeploy, Deployment.Logger logger) throws Deployment.DeploymentException
Deployment.DeploymentException
public String[] getServerInstanceIDs()
public String[] getServerInstanceIDs(Object[] moduleTypes)
moduleTypes
- list of module types that the server instance must support.
public String[] getServerInstanceIDs(Object[] moduleTypes, String specVersion)
moduleTypes
- list of module types that the server instance must support.specVersion
- lowest J2EE specification version that the server instance must support.
public String[] getServerInstanceIDs(Object[] moduleTypes, String specVersion, String[] tools)
moduleTypes
- list of module types that the server instance must support.specVersion
- lowest J2EE specification version that the server instance must support.tools
- list of tools that the server instance must support.
public String getServerInstanceDisplayName(String id)
public String getServerID(String instanceId)
public String getDefaultServerInstanceID()
public String[] getInstancesOfServer(String id)
public String[] getServerIDs()
public J2eePlatform getJ2eePlatform(String serverInstanceID)
J2eePlatform
.
serverInstanceID
- server instance ID.
J2eePlatform
for the given server instance, null
if
server instance of the specified ID does not exist.public String getServerDisplayName(String id)
public final void addInstanceListener(InstanceListener l)
public final void removeInstanceListener(InstanceListener l)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |