Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.mina.util
Class NamePreservingRunnable

    java.lang.Object
      org.apache.mina.util.NamePreservingRunnable

All Implemented Interfaces:
  Runnable

    public class NamePreservingRunnable

extends Object
implements Runnable

A `Runnable` wrapper that preserves the name of the thread after the runnable is complete (for `Runnable`s that change the name of the Thread they use.)

Version:
  $Rev: 446581 $, $Date: 2006-09-15 11:36:12Z $,
Author:
  The Apache MINA Project (dev@mina.apache.org)

Constructor Summary
`NamePreservingRunnable(Runnable runnable, String newName)`

Method Summary
`void` | `run()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NamePreservingRunnable

    public NamePreservingRunnable(Runnable runnable,
                                  String newName)

Method Detail

### run

    public void run()

  Specified by:
    `run` in interface `Runnable`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004-2008 Apache MINA Project. All Rights Reserved.