net.larsan.urd.impl
Class StopAllTask

java.lang.Object
  |
  +--net.larsan.urd.jndi.ContextVisitor
        |
        +--net.larsan.urd.impl.StopAllTask
All Implemented Interfaces:
java.lang.Runnable

public class StopAllTask
extends ContextVisitor
implements java.lang.Runnable

A simple runnable task for stopping all available services.

Version:
Alpha-0.1 / 2002-10-06 21:37
Author:
Lars J. Nilsson

Field Summary
 
Fields inherited from class net.larsan.urd.jndi.ContextVisitor
context, handler
 
Constructor Summary
StopAllTask(javax.naming.Context context, DefaultErrorHandler handler)
           
 
Method Summary
 void run()
          Execute stop task
 void visit(java.lang.String name, java.lang.Object o)
          Inherited from the context visitor.
 
Methods inherited from class net.larsan.urd.jndi.ContextVisitor
start, start, start
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopAllTask

public StopAllTask(javax.naming.Context context,
                   DefaultErrorHandler handler)
Method Detail

run

public void run()
Execute stop task

Specified by:
run in interface java.lang.Runnable

visit

public void visit(java.lang.String name,
                  java.lang.Object o)
Inherited from the context visitor.

Specified by:
visit in class ContextVisitor
Parameters:
name - Context name of the object
o - Object to visit