fedora.server.access.defaultdisseminator
Class ServiceMethodDispatcher

java.lang.Object
  extended by fedora.server.access.defaultdisseminator.ServiceMethodDispatcher

public class ServiceMethodDispatcher
extends java.lang.Object

Title: ServiceMethodDispatcher.java

Description: 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.

Version:
$Id: ServiceMethodDispatcher.java 6131 2007-09-18 22:28:42Z cwilper $
Author:
payette@cs.cornell.edu

Constructor Summary
ServiceMethodDispatcher()
           
 
Method Summary
 java.lang.Object invokeMethod(java.lang.Object service_object, java.lang.String methodName, Property[] userParms)
          Invoke a method on an internal service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceMethodDispatcher

public ServiceMethodDispatcher()
Method Detail

invokeMethod

public java.lang.Object invokeMethod(java.lang.Object service_object,
                                     java.lang.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 request
methodName - the method to invoke on the target object
userParms - parameters to the method to invoke on target object
Returns:
Throws:
ServerException