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.tomcat.startup
Class EnableAdmin

    java.lang.Object
      org.apache.tomcat.startup.EnableAdmin

public class EnableAdmin
extends java.lang.Object

Simple task for enabling the admin interface. Can be used as an ant task or from command line.

Author:
  Costin Manolache

Constructor Summary
`EnableAdmin()`

Method Summary
`void` | `execute()`
`java.util.Hashtable` | `getOptionAliases()`
`java.lang.String[]` | `getOptions1()`
`static void` | `main(java.lang.String[] args)`
`static void` | `printUsage()`
`boolean` | `processArgs(java.lang.String[] args)` Process arguments - set object properties from the list of args.
`void` | `setAction(java.lang.String s)`
`void` | `setAppsClassLoader(java.lang.ClassLoader cl)`
`void` | `setArgs(java.lang.String[] args)`
`void` | `setAttribute(java.lang.String s, java.lang.Object o)` Called by Main to set non-string properties
`void` | `setCommonClassLoader(java.lang.ClassLoader cl)`
`void` | `setConfig(java.lang.String s)`
`void` | `setContainerClassLoader(java.lang.ClassLoader cl)`
`void` | `setEnableAdmin(boolean b)`
`void` | `setHome(java.lang.String home)`
`void` | `setInstall(java.lang.String install)`
`void` | `setParentClassLoader(java.lang.ClassLoader cl)`
`void` | `setProperty(java.lang.String s, java.lang.Object v)` Callback from argument processing
`void` | `setSandbox(boolean b)`
`void` | `setStop(boolean b)`

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

Constructor Detail

### EnableAdmin

    public EnableAdmin()

Method Detail

### setHome

    public void setHome(java.lang.String home)

### setInstall

    public void setInstall(java.lang.String install)

### setArgs

    public void setArgs(java.lang.String[] args)

### setConfig

    public void setConfig(java.lang.String s)

### setAction

    public void setAction(java.lang.String s)

### setSandbox

    public void setSandbox(boolean b)

### setStop

    public void setStop(boolean b)

### setEnableAdmin

    public void setEnableAdmin(boolean b)

### setParentClassLoader

    public void setParentClassLoader(java.lang.ClassLoader cl)

### setCommonClassLoader

    public void setCommonClassLoader(java.lang.ClassLoader cl)

### setAppsClassLoader

    public void setAppsClassLoader(java.lang.ClassLoader cl)

### setContainerClassLoader

    public void setContainerClassLoader(java.lang.ClassLoader cl)

### execute

    public void execute()
                 throws java.lang.Exception

  Throws:
    `java.lang.Exception`

### printUsage

    public static void printUsage()

### getOptions1

    public java.lang.String[] getOptions1()

### getOptionAliases

    public java.util.Hashtable getOptionAliases()

### processArgs

    public boolean processArgs(java.lang.String[] args)

  Process arguments - set object properties from the list of args.

### setProperty

    public void setProperty(java.lang.String s,
                            java.lang.Object v)

  Callback from argument processing

### setAttribute

    public void setAttribute(java.lang.String s,
                             java.lang.Object o)

  Called by Main to set non-string properties

### main

    public static void main(java.lang.String[] args)

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 © 2001 Apache Software Foundation. All Rights Reserved.