|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.model.impl.DefaultServiceRepository
A service repository provides support for the retrival of service defintions.
Method Summary | |
protected Logger |
getLogger()
|
Service |
getService(ReferenceDescriptor reference)
Locate a Service instances associated with the
supplied referecne descriptor. |
Service |
getService(String classname,
Version version)
Locate a Service instances associated with the
supplied classname and version. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public Service getService(String classname, Version version) throws ServiceUnknownException
Service
instances associated with the
supplied classname and version. If a service defintion is not
found locally, the implementation redirects the request to
the parent service manager.
getService
in interface ServiceRepository
classname
- the service class nameversion
- the service version
UnknownServiceException
- if a matching service cannot be found
ServiceUnknownException
public Service getService(ReferenceDescriptor reference) throws ServiceUnknownException
Service
instances associated with the
supplied referecne descriptor. If a service defintion is not
found locally, the implementation redirects the request to
the parent service manager.
getService
in interface ServiceRepository
reference
- the reference descriptor
UnknownServiceException
- if a matching service cannot be found
ServiceUnknownException
protected Logger getLogger()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |