|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.lang.AbstractDirective net.dpml.transit.info.CodeBaseDirective net.dpml.station.info.ApplicationDescriptor
public class ApplicationDescriptor
The ApplicationDescriptor is immutable datastructure used to describe an application.
Field Summary | |
---|---|
static int |
DEFAULT_SHUTDOWN_TIMEOUT
The default shutdown timeout in seconds. |
static int |
DEFAULT_STARTUP_TIMEOUT
The default startup timeout in seconds. |
Constructor Summary | |
---|---|
ApplicationDescriptor(URI codebase,
String title,
ValueDirective[] parameters,
String base,
StartupPolicy policy,
int startupTimeout,
int shutdownTimeout,
Properties properties,
URI config)
Creation of a new codebase descriptor. |
Method Summary | |
---|---|
boolean |
equals(Object other)
Compare this object with another for equality. |
String |
getBasePath()
Returns the path defining the basedir that the application will be deployed within. |
URI |
getConfigurationURI()
Get the configuration uri. |
String |
getConfigurationURISpec()
Get the configuration uri specification. |
int |
getShutdownTimeout()
Get the duration in seconds to wait for the shutdown of the application before considering the process as non-responsive. |
StartupPolicy |
getStartupPolicy()
Return the application startup policy. |
int |
getStartupTimeout()
Get the duration in seconds to wait for startup of the application before considering deployment as a timeout failure. |
Properties |
getSystemProperties()
Get the system properties. |
String |
getTitle()
Returns the application title. |
int |
hashCode()
Return the hashcode for the object. |
String |
toString()
Return a string representation of the application descriptor. |
Methods inherited from class net.dpml.transit.info.CodeBaseDirective |
---|
getCodeBaseURI, getCodeBaseURISpec, getValueDirectives |
Methods inherited from class net.dpml.lang.AbstractDirective |
---|
equals, hashArray, hashValue |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_STARTUP_TIMEOUT
public static final int DEFAULT_SHUTDOWN_TIMEOUT
Constructor Detail |
---|
public ApplicationDescriptor(URI codebase, String title, ValueDirective[] parameters, String base, StartupPolicy policy, int startupTimeout, int shutdownTimeout, Properties properties, URI config)
codebase
- the codebase urititle
- the profile titleparameters
- an array of plugin parameter descriptorsbase
- working directory pathpolicy
- the application startup policystartupTimeout
- startup timeout valueshutdownTimeout
- shutdown timeout valueproperties
- system propertiesconfig
- uri to a part configurationMethod Detail |
---|
public String getTitle()
public String getBasePath()
public StartupPolicy getStartupPolicy()
public int getStartupTimeout()
public int getShutdownTimeout()
public Properties getSystemProperties()
public String getConfigurationURISpec()
public URI getConfigurationURI()
public boolean equals(Object other)
equals
in class CodeBaseDirective
other
- the object to compare this object with
public int hashCode()
hashCode
in class CodeBaseDirective
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |