org.fcrepo.server.access.defaultdisseminator
Class ServiceMethodDispatcher
java.lang.Object
org.fcrepo.server.access.defaultdisseminator.ServiceMethodDispatcher
public class ServiceMethodDispatcher
- extends Object
Invokes a method on an internal service.
This is done using Java reflection where the service is the target object
of a dynamic method request.
- Author:
- Sandy Payette
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceMethodDispatcher
public ServiceMethodDispatcher()
invokeMethod
public Object invokeMethod(Object service_object,
String methodName,
Property[] userParms)
throws ServerException
- Invoke a method on an internal service. This is done using Java
reflection where the service is the target object of a dynamic method
request.
- Parameters:
service_object - the target object of the service requestmethodName - the method to invoke on the target objectuserParms - parameters to the method to invoke on target object
- Returns:
-
- Throws:
ServerException
Copyright © 2011 DuraSpace. All Rights Reserved.