|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.e_app.EnterpriseApplication
public class EnterpriseApplication
An enterprise application (ear)
| Nested Class Summary | |
|---|---|
class |
EnterpriseApplication.Module
|
| Method Summary | |
|---|---|
void |
addSecurityRole(SecurityRole role)
Adds a security role. |
EnterpriseApplication.Module |
createModule()
Adds a module. |
void |
destroy()
destroys the e-application. |
WebAppController |
findWebAppEntry(java.lang.String name)
Returns any matching web-app. |
java.util.ArrayList<WebAppController> |
getApplications()
Returns the webapps for the enterprise-application. |
EnvironmentClassLoader |
getClassLoader()
Returns the class loader. |
java.lang.String |
getClientRefs()
|
java.lang.Throwable |
getConfigException()
Gets the config exception. |
java.lang.String |
getLibraryDirectory()
Gets the library directory. |
static EnterpriseApplication |
getLocal()
|
java.lang.String |
getName()
Gets the name. |
Path |
getRootDirectory()
Sets the root directory. |
void |
init()
Configures the application. |
boolean |
isDeployError()
Returns true if it's modified. |
boolean |
isDeployIdle()
Returns true if the application is idle. |
boolean |
isModified()
Returns true if it's modified. |
boolean |
isModifiedNow()
Returns true if it's modified. |
boolean |
logModified(java.util.logging.Logger log)
Log the reason for modification. |
void |
setConfigException(java.lang.Throwable e)
Sets the config exception. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setDisplayName(java.lang.String name)
Sets the display name. |
void |
setEarPath(Path earPath)
Sets the path to the .ear file |
void |
setEjbServerJndiName(java.lang.String name)
Sets the ejb-server jndi name. |
void |
setEnvironmentClassLoader(EnvironmentClassLoader loader)
Sets the class loader. |
void |
setIcon(Icon icon)
Sets the icon. |
void |
setId(java.lang.String id)
Sets the id |
void |
setLibraryDirectory(java.lang.String libraryDirectory)
Sets the library directory. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setPrefix(java.lang.String prefix)
Sets the prefix URL for web applications. |
void |
setRootDirectory(Path rootDir)
Sets the root directory. |
void |
setSchemaLocation(java.lang.String schema)
Sets the schema location |
void |
setVersion(java.lang.String version)
Sets the application version. |
void |
setWebapps(Path webappsPath)
Sets the path to the expanded webapps |
void |
start()
Configures the application. |
void |
stop()
Stops the e-application. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static EnterpriseApplication getLocal()
public void setName(java.lang.String name)
public java.lang.String getName()
public void setLibraryDirectory(java.lang.String libraryDirectory)
public java.lang.String getLibraryDirectory()
public void setEjbServerJndiName(java.lang.String name)
public void setRootDirectory(Path rootDir)
setRootDirectory in interface EnvironmentDeployInstancepublic Path getRootDirectory()
public EnvironmentClassLoader getClassLoader()
getClassLoader in interface EnvironmentBeangetClassLoader in interface DeployInstancepublic void setEnvironmentClassLoader(EnvironmentClassLoader loader)
public void setEarPath(Path earPath)
public void setWebapps(Path webappsPath)
public void setPrefix(java.lang.String prefix)
public void setId(java.lang.String id)
public void setVersion(java.lang.String version)
public void setSchemaLocation(java.lang.String schema)
public void setDisplayName(java.lang.String name)
public void setDescription(java.lang.String description)
public void setIcon(Icon icon)
public EnterpriseApplication.Module createModule()
public void addSecurityRole(SecurityRole role)
public boolean isModified()
isModified in interface DeployInstanceisModified in interface Dependencypublic boolean isModifiedNow()
isModifiedNow in interface DeployInstancepublic boolean logModified(java.util.logging.Logger log)
logModified in interface DeployInstancelogModified in interface Dependencypublic boolean isDeployError()
isDeployError in interface DeployInstancepublic boolean isDeployIdle()
isDeployIdle in interface DeployInstancepublic void setConfigException(java.lang.Throwable e)
setConfigException in interface DeployInstancepublic java.lang.Throwable getConfigException()
getConfigException in interface DeployInstance
public void init()
throws java.lang.Exception
init in interface EnvironmentDeployInstancejava.lang.Exceptionpublic void start()
start in interface DeployInstancepublic WebAppController findWebAppEntry(java.lang.String name)
public java.util.ArrayList<WebAppController> getApplications()
public void stop()
public void destroy()
destroy in interface DeployInstancepublic java.lang.String getClientRefs()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||