org.ow2.clif.deploy
Class ServerDeploy

java.lang.Object
  extended by java.lang.Thread
      extended by org.ow2.clif.deploy.ServerDeploy
All Implemented Interfaces:
java.lang.Runnable

public class ServerDeploy
extends java.lang.Thread

Asynchronously and remotely creates a CLIF server (includes the creation of a Storage Proxy component and a Collector component).

Author:
Bruno Dillenseger

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  org.objectweb.fractal.api.Component bootstrap
           
protected  org.objectweb.fractal.api.Component clifserver
           
protected  boolean terminated
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ServerDeploy(org.objectweb.fractal.api.Component bootstrap)
          Defines a new CLIF server deployment.
 
Method Summary
 org.objectweb.fractal.api.Component get()
          Gets the Clif server component (the call is blocked waiting for the Clif server to be actually deployed)
 void run()
          Actually performs the CLIF server deployment.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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
 

Field Detail

bootstrap

protected org.objectweb.fractal.api.Component bootstrap

clifserver

protected org.objectweb.fractal.api.Component clifserver

terminated

protected boolean terminated
Constructor Detail

ServerDeploy

public ServerDeploy(org.objectweb.fractal.api.Component bootstrap)
Defines a new CLIF server deployment.

Parameters:
bootstrap - The bootstrap component to use for creating the CLIF server.
Method Detail

run

public void run()
Actually performs the CLIF server deployment.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

get

public org.objectweb.fractal.api.Component get()
Gets the Clif server component (the call is blocked waiting for the Clif server to be actually deployed)

Returns:
the CLIF server component reference