public Object invoke(ServiceAdapter serviceAdapter, Message message){
//RemotingDestination remotingDestination = (RemotingDestination)serviceAdapter.getDestination();
RemotingMessage remotingMessage = (RemotingMessage)message;
//FactoryInstance factoryInstance = remotingDestination.getFactoryInstance();
/*
print.out("className:"+remotingMessage.getSource());
print.out("methodName:"+remotingMessage.getOperation());
print.out("params:");
print.out(remotingMessage.getParameters().toArray());
*/
try {
Object rtn = new CFMLProxy().invokeBody(
null,properties,
FlexContext.getServletContext(),
FlexContext.getServletConfig(),
FlexContext.getHttpRequest(),
FlexContext.getHttpResponse(),
remotingMessage.getSource(),
remotingMessage.getOperation(),
remotingMessage.getParameters());
return rtn;
}
catch (Exception e) {
e.printStackTrace();// TODO