org.mmbase.bridge
Class RemoteContext

java.lang.Object
  extended byorg.mmbase.bridge.RemoteContext

public class RemoteContext
extends Object

Since:
MMBase-1.5
Version:
$Id: RemoteContext.java,v 1.7 2005/06/07 12:02:37 michiel Exp $
Author:
Kees Jongenburger
Warning: No Java Documentation Available.

Constructor Summary
RemoteContext()
           
 
Method Summary
static CloudContext getCloudContext(String uri)
          Connect to a remote cloudcontext.
static void main(String[] argv)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteContext

public RemoteContext()
Method Detail

getCloudContext

public static CloudContext getCloudContext(String uri)
Connect to a remote cloudcontext. The name of the context depends on configurations found in mmbaseroot.xml (host) and rmmci.xml for port and context name

Parameters:
uri - rmi uri like rmi://www.mmbase.org:1111/remotecontext
Returns:
the remote cloud context named remotecontext
Throws:
RuntimeException - if anything goes wrong
To Do:
should throw a Bridge Exception (?)

main

public static void main(String[] argv)


MMBase build 1.8.1.20060716