org.globus.cog.abstraction.impl.common.sandbox
Class Sandbox

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.globus.cog.abstraction.impl.common.sandbox.Sandbox
All Implemented Interfaces:
Runnable

public class Sandbox
extends Thread


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Sandbox(ClassLoader loader, String name)
           
 
Method Summary
 void boot(String bootClassName)
           
 Object invoke(Object target, String methodName, Class[] argTypes, Object[] args)
           
 Object invokeStatic(String className, String methodName, Class[] argTypes, Object[] args)
           
 Object newObject(String className, Class[] argTypes, Object[] args)
           
 void run()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Sandbox

public Sandbox(ClassLoader loader,
               String name)
Method Detail

newObject

public Object newObject(String className,
                        Class[] argTypes,
                        Object[] args)
                 throws Throwable
Throws:
Throwable

invoke

public Object invoke(Object target,
                     String methodName,
                     Class[] argTypes,
                     Object[] args)
              throws Throwable
Throws:
Throwable

invokeStatic

public Object invokeStatic(String className,
                           String methodName,
                           Class[] argTypes,
                           Object[] args)
                    throws Throwable
Throws:
Throwable

boot

public void boot(String bootClassName)
          throws Throwable
Throws:
Throwable

run

public void run()