Package org.exolab.castor.tests.framework.testDescriptor

Examples of org.exolab.castor.tests.framework.testDescriptor.CallMethod


        }

        Enumeration methods = config.enumerateCallMethod();
        //-- For each method defined, we invoke it on marshaller just created.
        while (methods.hasMoreElements()) {
            CallMethod method = (CallMethod) methods.nextElement();
            //-- search for the method to invoke
            Method toBeinvoked = getInvokeMethod(objectInvoked.getClass(), method.getName(), method.getValue());
            //-- construct the objects representing the arguments of the method
            Object[] arguments = getArguments(method.getValue());
            //-- Invoke the method and keep a copy of the returned object
            returnValues.add(toBeinvoked.invoke(objectInvoked, arguments));
        }

        return returnValues;
View Full Code Here

TOP

Related Classes of org.exolab.castor.tests.framework.testDescriptor.CallMethod

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.