|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.appserv.management.j2ee.statistics.StatisticFactory
public final class StatisticFactory
Creates Statistic implementations based on CompositeData or Map.
Method Summary | |
---|---|
static Statistic |
create(Class<? extends Statistic> theInterface,
CompositeData data)
Create a new Statistic using the specified CompositeData |
static Statistic |
create(Class<? extends Statistic> theInterface,
Map<String,?> mappings)
Create a new Statistic using the specified map. |
static Statistic |
create(CompositeData data)
Create a new Statistic using the specified CompositeData. |
static Class<? extends Statistic> |
getInterface(Statistic s)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Statistic create(Class<? extends Statistic> theInterface, CompositeData data)
theInterface
- interface which the Statistic should implement, must extend Statisticpublic static Statistic create(CompositeData data)
public static Statistic create(Class<? extends Statistic> theInterface, Map<String,?> mappings)
theInterface
- the interface which the resulting statistic implementsmappings
- a Map containing keys of type String and their Object valuespublic static Class<? extends Statistic> getInterface(Statistic s)
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.