|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
ServiceAdapter is a Service that defines an interface for use by
clients which provides access to one or more other Services not known to
those clients. In other words, a client will invoke a business method on
a ServiceAdapter, which will then access other Services (not known to the
client) to fulfull the request. This interface can be extended to add
business-level methods specific to the Service it adapts.
In addition, a ServiceAdapter may define dependencies on other required Services, which can enable a ServiceConnector to offer conditional support for the Service implemented by the ServiceAdapter.
| Method Summary | |
void |
addRequiredService(ServiceReference serviceRef)
Add a reference to a required Service. |
ServiceReference[] |
getRequiredServices()
Get all required Services. |
void |
removeRequiredService(ServiceReference serviceRef)
Remove a reference to a required Service. |
| Methods inherited from interface com.cafesoft.core.service.Service |
destroy, getServiceConfig, initialize |
| Methods inherited from interface com.cafesoft.core.util.Debuggable |
setDebug |
| Method Detail |
public void addRequiredService(ServiceReference serviceRef)
public void removeRequiredService(ServiceReference serviceRef)
public ServiceReference[] getRequiredServices()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||