|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectyawda.data.model.application.CApplication
This class represent an application.
| Field Summary | |
static String |
CONTEXT_KEY
Comment for CONTEXT_KEY This is the key of the
CApplication object in the Servlet Context |
| Constructor Summary | |
CApplication(String name,
String version)
Create a new application. |
|
| Method Summary | |
CStrutsApplication |
createStrutsApplication()
Create a struts application object from this application. |
static CApplication |
getInstance(javax.servlet.ServletContext context)
Return an instance of the Application Object |
String |
getName()
|
CModule |
getRootModule()
|
String |
getVersion()
|
void |
initialize()
|
void |
setRootModule(CModule applicationRootModule)
Set the root module |
String |
toString()
|
static CApplication |
unmarshall(Node node)
Unmarshall a parsed configuration file in an CApplication object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public static final String CONTEXT_KEY
CONTEXT_KEY This is the key of the
CApplication object in the Servlet Context
| Constructor Detail |
public CApplication(String name,
String version)
name - The name of the applicationversion - The version of the application| Method Detail |
public static final CApplication getInstance(javax.servlet.ServletContext context)
context - the servlet context in which to search for the object
public final void setRootModule(CModule applicationRootModule)
applicationRootModule - public final void initialize()
public final String getName()
public final String getVersion()
public final CModule getRootModule()
public final String toString()
Object.toString()public static final CApplication unmarshall(Node node)
node - an <application> tag node
public final CStrutsApplication createStrutsApplication()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||