|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ServiceConfiguration
| Method Summary | |
|---|---|
java.lang.Object |
getService()
|
java.lang.Class |
getServiceClass()
|
java.lang.String |
getServiceID()
|
void |
invokeDisposeMethod()
Invokes the "dispose" method on the service encapsulated by this instance (if such a dispose method was specified). |
void |
invokeInitMethod()
Invokes the "init" method on the service encapsulated by this instance (if such an init method was specified). |
void |
invokeStartMethod()
Invokes the "start" method on the service encapsulated by this instance (if such a start method was specified). |
void |
setService(java.lang.Object service)
This method allows substituting the current service of this instance with another one. |
| Method Detail |
|---|
java.lang.Object getService()
java.lang.Class getServiceClass()
Class corresponding to the type of service.void setService(java.lang.Object service)
service - a service object.java.lang.String getServiceID()
null if no
ID was assigned.
void invokeInitMethod()
throws java.lang.Exception
java.lang.Exception - if a problem occurs.
void invokeStartMethod()
throws java.lang.Exception
java.lang.Exception - if a problem occurs.void invokeDisposeMethod()
java.lang.Exception - if a problem occurs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||