Package jadex.bytecode.vmhacks
Class LoggerFilterStore
- java.lang.Object
- 
- java.util.AbstractCollection<E>
- 
- java.util.AbstractList<E>
- 
- java.util.ArrayList<java.lang.Object>
- 
- jadex.bytecode.vmhacks.LoggerFilterStore
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- java.lang.Iterable<java.lang.Object>,- java.util.Collection<java.lang.Object>,- java.util.List<java.lang.Object>,- java.util.logging.Filter,- java.util.RandomAccess
 
 public final class LoggerFilterStore extends java.util.ArrayList<java.lang.Object> implements java.util.logging.FilterThis class abuses the java.util.logging.* API to establish a VM-wide object store.- See Also:
- Serialized Form
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected static java.util.logging.LoggerinstanceHold the logger to prevent GC, weak-referenced globally.
 - 
Constructor SummaryConstructors Constructor Description LoggerFilterStore()Creates the store.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectget(int index)Overridestatic java.util.ArrayList<java.lang.Object>getStore()Returns a store object.static voidinject()Injects the store.booleanisLoggable(java.util.logging.LogRecord record)Unused- 
Methods inherited from class java.util.ArrayListadd, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
 
- 
 
- 
- 
- 
Method Detail- 
getpublic java.lang.Object get(int index) Override- Specified by:
- getin interface- java.util.List<java.lang.Object>
- Overrides:
- getin class- java.util.ArrayList<java.lang.Object>
 
 - 
isLoggablepublic boolean isLoggable(java.util.logging.LogRecord record) Unused- Specified by:
- isLoggablein interface- java.util.logging.Filter
 
 - 
injectpublic static final void inject() Injects the store.
 - 
getStorepublic static final java.util.ArrayList<java.lang.Object> getStore() Returns a store object.- Parameters:
- i- Store object index.
- clazz- Class marker.
- Returns:
- The object.
 
 
- 
 
-