|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.backsource.amsterdam.service.Application
Application.java Created: Tue Mar 23 16:18:41 2004
| Constructor Summary | |
Application()
|
|
| Method Summary | |
void |
addService(Service serv)
Add a service to this application. |
void |
destroy()
Destroys all the containers of this application. |
org.apache.commons.logging.Log |
getLogger()
|
java.lang.String |
getName()
Get the name of this Application. |
Service |
getService(java.lang.String name)
Get a service from this Application that corresponds to a given name |
java.util.Collection |
getServices()
Get all containers in this Application. |
java.net.URL |
getURL()
Get the URL from which this Application was deployed |
void |
init()
Initializes all the containers of this application. |
void |
removeService(Service serv)
Remove a service from this application. |
void |
setName(java.lang.String name)
Set the name of this Application |
void |
setURL(java.net.URL url)
Set the URL that was used to deploy this Application |
void |
start()
Starts all the containers of this application. |
void |
stop()
Stops all the containers of this application. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Application()
| Method Detail |
public org.apache.commons.logging.Log getLogger()
public void addService(Service serv)
serv - public void removeService(Service serv)
serv - public Service getService(java.lang.String name)
name - ejb-name name defined in ejb-jar.xml
public java.util.Collection getServices()
public java.lang.String getName()
public void setName(java.lang.String name)
name - public java.net.URL getURL()
public void setURL(java.net.URL url)
url -
public void init()
throws java.lang.Exception
init in interface Servablejava.lang.Exception
public void start()
throws java.lang.Exception
start in interface Servablejava.lang.Exception
public void stop()
throws java.lang.Exception
stop in interface Servablejava.lang.Exception
public void destroy()
throws java.lang.Exception
destroy in interface Servablejava.lang.Exceptionpublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||