| java.lang.Object com.rift.coad.util.connection.RMIConnection
RMIConnection | public class RMIConnection implements Connection(Code) | | This object controls the RMI based connection.
author: Brett Chaldecott |
Field Summary | |
protected static Logger | log |
Method Summary | |
public Object | getConnection(Class type) This object returns the connection to the object. | public synchronized void | invalidateConnection() This method is called to invalidate a connection object. | public static boolean | isRMIConnection(String jndiURL) This method returns true if the object being passed contains a local
url. |
log | protected static Logger log(Code) | | |
RMIConnection | public RMIConnection(Context context, String jndiURL)(Code) | | Creates a new instance of RMIConnection
Parameters: context - The context object responsible for returning information. Parameters: jndiURL - The url identifying the object. |
invalidateConnection | public synchronized void invalidateConnection()(Code) | | This method is called to invalidate a connection object.
|
isRMIConnection | public static boolean isRMIConnection(String jndiURL)(Code) | | This method returns true if the object being passed contains a local
url.
TRUE if a local URL, FALSE if not. Parameters: jndiURL - The string url to perform the check on. |
|
|