|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CLEnum>
sk.baka.webvm.analyzer.classloader.CLEnum
public enum CLEnum
Auto-detection of the class loader type.
| Enum Constant Summary | |
|---|---|
EAR
Classloader for the EAR application. |
|
EJBJAR
A classloader which loads ejb.jar |
|
ROOT
Root classloader (its parent is null). |
|
SERVER
An unknown classloader type. |
|
SYSTEM
A system classloader. |
|
WAR
The WebVM WAR classloader. |
|
| Method Summary | |
|---|---|
static EnumSet<CLEnum> |
getTypes(ClassLoader cl)
Detects the type of classes this class loader manages. |
protected abstract boolean |
matches(ClassLoader cl)
Checks if this enum constant matches given classloader. |
static CLEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CLEnum[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final CLEnum WAR
public static final CLEnum EJBJAR
public static final CLEnum EAR
public static final CLEnum SYSTEM
system classloader.
public static final CLEnum ROOT
public static final CLEnum SERVER
| Method Detail |
|---|
public static CLEnum[] values()
for (CLEnum c : CLEnum.values()) System.out.println(c);
public static CLEnum valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullprotected abstract boolean matches(ClassLoader cl)
cl - the classloader to match, not null
public static EnumSet<CLEnum> getTypes(ClassLoader cl)
cl - the classloader, not null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||