1 /* 2 * (c) Rob Gordon 2005 3 */ 4 package org.oddjob.framework; 5 6 import java.io.Serializable; 7 8 import org.oddjob.arooa.registry.ComponentRegistry; 9 10 /** 11 * A Transportable object is one which can be sent accross the network and 12 * resolved locally. Transportable objects typically contain addresses which 13 * need to be resolved locally to identify a job relative to the server. 14 * 15 * @author Rob Gordon. 16 */ 17 public interface Transportable extends Serializable { 18 19 /** 20 * Reolve this object into a local object. 21 * 22 * @param componentRegistry The componentRegistry to use. 23 * @return An object which is valid in the local environment. 24 */ 25 public Object importResolve(ComponentRegistry componentRegistry); 26 } 27