public abstract class MultiTypeProvider<T> extends TypedProvider<T>
Created by Jeff Gaynor
on 1/18/12 at 10:09 AM
Modifier and Type | Field and Description |
---|---|
protected boolean |
disableDefaultStore |
protected MyLoggingFacade |
logger |
Modifier | Constructor and Description |
---|---|
protected |
MultiTypeProvider() |
protected |
MultiTypeProvider(org.apache.commons.configuration.tree.ConfigurationNode config,
boolean disableDefaultStore,
MyLoggingFacade logger,
String type,
String target) |
protected |
MultiTypeProvider(MyLoggingFacade logger,
String type,
String target) |
Modifier and Type | Method and Description |
---|---|
Object |
componentFound(CfgEvent configurationEvent) |
T |
get()
This will notify all listeners and return the first instance found.
|
abstract T |
getDefaultStore()
Supply a default store if none is specified.
|
checkEvent, getTarget, getType, getTypeAttribute, getTypeAttribute, getTypeBooleanAttribute, getTypeConfig, getTypeIntAttribute, getTypeIntAttribute, setTarget, setType, setTypeConfig, toString
addListener, fireComponentFound, getAttribute, getAttribute, getBooleanAttribute, getConfig, getConfigurationAt, getIntAttribute, getIntAttribute, hasA, isA, removeListener, setConfig
protected boolean disableDefaultStore
protected MyLoggingFacade logger
protected MultiTypeProvider()
protected MultiTypeProvider(org.apache.commons.configuration.tree.ConfigurationNode config, boolean disableDefaultStore, MyLoggingFacade logger, String type, String target)
protected MultiTypeProvider(MyLoggingFacade logger, String type, String target)
public T get()
public abstract T getDefaultStore()
Copyright © 2019. All Rights Reserved.