/* * Copyright (c) 2004,2009 Declarative Engineering LLC. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Declarative Engineering LLC * verson 1 which accompanies this distribution, and is available at * http://declarativeengineering.com/legal/DE_Developer_License_v1.txt */ package com.de22.orb.optional; /* * Simply wrappers the orb wrapper's callback interface with an object that implements this orb's callback interface. */ public class ResultCallbackWrapper implements com.de22.orb.IResultCallback { private com.common.orb.IResultCallback callback = null; /** * ResultCallbackWrapper constructor. */ public ResultCallbackWrapper(com.common.orb.IResultCallback callback) { super(); this.callback = callback; }//ResultCallbackWrapper()// /* (non-Javadoc) * @see com.de22.orb.IResultCallback#run(java.lang.Object) */ public void run(Object result) { callback.run(result); }//run()// }//ResultCallbackWrapper//