|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IService interface is the root interface that all service objects must
implement. The interface makes it possile to handle services in an abstract
and distributet way. The provided service is accessed by the service object
that can be accessed from the IService interface.
Note tha if possible all IService implementations should also implement
the interface of the specific service they provide. If they do not it should
be specially motivated and documented.
Method Summary | |
void |
finalizeService()
This method is always called by the ServiceManager before the service is released. |
IProxyService |
getCustomProxyService(ITunnel tunnel)
Returns an IProxyService that is responsible for handling remote invokations on this service. |
java.lang.Object |
getServiceIdentity()
Returns the URI defining the a unique individual service. |
java.lang.Object |
getServiceInterface()
Returns the service object that this service provides. |
java.lang.Class |
getServiceInterfaceClass()
Returns the class object the defines the service interface that all services with the same type provides. |
java.lang.Object |
getServiceType()
Returns a URI that defines the type of this service. |
boolean |
hasCustomProxyService()
If this method returns true then the method getCustomProxyService must not return null . |
void |
initializeService()
This method is always called by the ServiceManager before any other method in the service is called. |
boolean |
ping()
Should return true if the service is online and reponding to calls. |
Method Detail |
public void initializeService()
public void finalizeService()
public boolean ping()
public java.lang.Object getServiceInterface()
public java.lang.Class getServiceInterfaceClass()
public java.lang.Object getServiceType()
public java.lang.Object getServiceIdentity()
public boolean hasCustomProxyService()
null
.
public IProxyService getCustomProxyService(ITunnel tunnel)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |