|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bowstreet.appserver.logmanager.Component
public final class Component
Provides methods for recording and accessing component names used for filtering and recording log events.
Names are case in-sensitive.
Field Summary | |
---|---|
static int |
ADMIN
admin component |
static int |
ALL
component is not specified |
static int |
CONFIG
config component |
static int |
DB
database component |
static int |
DIR_SERVICES
directory service component |
static int |
INITIALCAPACITY
initial capacity of the components arraylist |
static int |
MODEL
model component |
static int |
PROFILING
profiling component |
static int |
SECURITY
security component |
static int |
SERVER
server component |
static int |
SERVICE
security component |
static int |
SERVLET
servlet component |
Constructor Summary | |
---|---|
Component()
|
Method Summary | |
---|---|
static void |
addComponent(java.lang.String comp)
Add a component to the predefined component array. |
static java.lang.String |
getName(int value)
convert an integer passed as argument to the name of component. |
static java.lang.String[] |
getNames()
Returns an array of defined component names. |
static int |
getValue(java.lang.String name)
convert the name of component to the integer representation. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ADMIN
public static final int ALL
public static final int CONFIG
public static final int DB
public static final int DIR_SERVICES
public static final int INITIALCAPACITY
public static final int MODEL
public static final int PROFILING
public static final int SECURITY
public static final int SERVER
public static final int SERVICE
public static final int SERVLET
Constructor Detail |
---|
public Component()
Method Detail |
---|
public static void addComponent(java.lang.String comp)
comp
- component name to addpublic static java.lang.String getName(int value)
public static java.lang.String[] getNames()
public static int getValue(java.lang.String name)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |