org.ow2.clif.deploy
Class BladeRemove

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

public class BladeRemove
extends java.lang.Thread

Asynchronously and remotely instantiates a Blade component in a CLIF server.

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 clifApp
           
protected  ClifServerControl server
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
BladeRemove(org.objectweb.fractal.api.Component clifApp, ClifServerControl server)
          Removes all blades of a given Clif server, and from the given clif application composite.
 
Method Summary
 void run()
          Actually proceeds with the blades removal.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, 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
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

clifApp

protected org.objectweb.fractal.api.Component clifApp

server

protected ClifServerControl server
Constructor Detail

BladeRemove

public BladeRemove(org.objectweb.fractal.api.Component clifApp,
                   ClifServerControl server)
Removes all blades of a given Clif server, and from the given clif application composite.

Parameters:
clifApp - the Clif application distributed component the blades must be removed from
server - the controller of the CLIF server where the blades are deployed
Method Detail

run

public void run()
Actually proceeds with the blades removal.

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