|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.BaseResolver toolbox.services.ServiceResolver
public class ServiceResolver
DependencyResolver implementation to resolve Service dependencies.
Constructor Summary | |
---|---|
ServiceResolver()
Default constructor. |
Method Summary | |
---|---|
void |
resolve(java.lang.Object svcInstance,
java.lang.Class svcClass,
java.util.Map config)
Resolve the service dependency as described in the given dependency config parameters. |
Methods inherited from class toolbox.services.BaseResolver |
---|
invokeServiceMethod |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceResolver()
Method Detail |
---|
public void resolve(java.lang.Object svcInstance, java.lang.Class svcClass, java.util.Map config) throws ServiceException
resolve
in interface DependencyResolver
svcInstance
- Service instance for which the dependency must be
resolved.svcClass
- Class that defines the service type.config
- Map containing the dependency configuration. The map
will contain the follwing keys:
ServiceException
- if an exception occurs while trying to resolve
the dependency.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |