public interface Applications
| Modifier and Type | Method and Description | 
|---|---|
DeployedApplication | 
addApplication(DeployableApplication application)
Add or deploy an Application 
 | 
DeployableApplication | 
createApplication(java.lang.String name,
                 java.net.URL deployFileUrl)
Create a new Application object. 
 | 
void | 
deleteApplication(DeployedApplication application)
Remove or undeploy an Application 
 | 
DeployedApplication | 
getApplicationByRef(java.lang.String name)
Get a deployed application by name. 
 | 
java.util.List<DeployedApplication> | 
getApplicationList()
Get an immutable list of current deployed Applications. 
 | 
java.util.List<java.lang.String> | 
getApplicationRefList()
Get an immutable list of Application names 
 | 
void | 
updateApplication(DeployedApplication application)
Update the properties of a  
DeployedApplication. | 
java.util.List<DeployedApplication> getApplicationList() throws GlassfishManagementException
GlassfishManagementException - - if the list of applications could not be retrieved.java.util.List<java.lang.String> getApplicationRefList()
                                                       throws GlassfishManagementException
GlassfishManagementException - - if the list of names could not be retrieved.DeployedApplication getApplicationByRef(java.lang.String name) throws GlassfishManagementException
GlassfishManagementExceptionDeployedApplication addApplication(DeployableApplication application) throws GlassfishManagementException
application - GlassfishManagementException - - if the application could not be deployed successfully.void deleteApplication(DeployedApplication application) throws GlassfishManagementException
application - GlassfishManagementException - - if the application could not be deleted.void updateApplication(DeployedApplication application) throws GlassfishManagementException
DeployedApplication.GlassfishManagementException - - if the application could not be updated.DeployableApplication createApplication(java.lang.String name, java.net.URL deployFileUrl) throws java.lang.NullPointerException
java.lang.NullPointerException - - if name is null or empty.