|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||

java.lang.Objecttoolbox.services.BaseResolver
public class BaseResolver
Convenience base class that may be extended when implementing the
DependencyResolver
| Constructor Summary | |
|---|---|
protected |
BaseResolver()
Protected Constructor. |
| Method Summary | |
|---|---|
protected void |
invokeServiceMethod(java.lang.Object svcInstance,
java.lang.ClassLoader loader,
java.lang.String svcMethodName,
java.lang.Object depInstance,
java.lang.String depClassName)
Inject the given depInstance into the given
svcInstance using the provided class and method
information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected BaseResolver()
| Method Detail |
|---|
protected void invokeServiceMethod(java.lang.Object svcInstance,
java.lang.ClassLoader loader,
java.lang.String svcMethodName,
java.lang.Object depInstance,
java.lang.String depClassName)
throws ServiceException
depInstance into the given
svcInstance using the provided class and method
information.
svcInstance - Service instance.loader - Use this class loader to load the dependency
class. May be null.svcMethodName - Name of the service method where the dependency
must be injected.depInstance - The dependency instance.depClassName - The name of the class that denotes the dependency
type.
ServiceException - if the service method cannot be invoked.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||