public class JAMonListenerFactory extends Object
Factory used to hold JAMonListeners. Developers may put any listeners that implement JAMonBufferListeners.
Any listener may be retrieved by passing in the JAMonListener name. At this time JAMon ships with the following listeners that can be referenced by name. Every buffer has a shared counterpart that allows different montiors to share the same buffer. In every other way they are the same as their similarly named counterparts.
Constructor and Description |
---|
JAMonListenerFactory() |
Modifier and Type | Method and Description |
---|---|
static JAMonListener |
get(String listenerName)
Get an instance of the named factory instance.
|
static Object[][] |
getData()
Returns an array of all registered JAMonListeners in the format: key, JamonListener factory instance
|
static String[] |
getHeader()
Returns the header for display of JAMonListeners
|
static void |
put(JAMonListener jamonListener)
Developers may register their own listeners to be made available for use in JAMon
|
static void |
reset()
Reset all listeners in factory to default settings.
|
public static void reset()
public static void put(JAMonListener jamonListener)
public static Object[][] getData()
public static String[] getHeader()
public static JAMonListener get(String listenerName)
listenerName
- Copyright © 2015. All rights reserved.