|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.portal.server.kernel.BaseService
public class BaseService
| Field Summary | |
|---|---|
protected Context |
ctx
|
| Constructor Summary | |
|---|---|
BaseService()
|
|
| Method Summary | |
|---|---|
void |
addDependsOnMe(ServiceImplementation implementation)
Add a service depending on this one. |
void |
addIDependOn(ServiceImplementation implementation)
Add a service it depends on. |
void |
create()
Create. |
void |
destroy()
Destroy. |
void |
registered(Context ctx)
Callback for registration. |
void |
removeDependsOnMe(ServiceImplementation implementation)
Remove a service depending on this one. |
void |
removeIDependOn(ServiceImplementation implementation)
Remove a service it depends on. |
void |
start()
Start. |
void |
stop()
Stop. |
void |
unregister()
Callback for unregistration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Context ctx
| Constructor Detail |
|---|
public BaseService()
| Method Detail |
|---|
public void addIDependOn(ServiceImplementation implementation)
Registration
addIDependOn in interface Registrationpublic void removeIDependOn(ServiceImplementation implementation)
Registration
removeIDependOn in interface Registrationpublic void addDependsOnMe(ServiceImplementation implementation)
Registration
addDependsOnMe in interface Registrationpublic void removeDependsOnMe(ServiceImplementation implementation)
Registration
removeDependsOnMe in interface Registrationpublic void registered(Context ctx)
Registration
registered in interface Registrationpublic void unregister()
Registration
unregister in interface Registration
public void create()
throws java.lang.Exception
Service
create in interface Servicejava.lang.Exception
public void start()
throws java.lang.Exception
Service
start in interface Servicejava.lang.Exceptionpublic void stop()
Service
stop in interface Servicepublic void destroy()
Service
destroy in interface Service
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||