public abstract class FeatureSupport extends Object implements Feature
Feature
implementations.Modifier and Type | Field and Description |
---|---|
protected Configuration |
config |
protected String |
key |
protected org.slf4j.Logger |
log |
protected Provider |
provider |
protected boolean |
supported |
Modifier | Constructor and Description |
---|---|
protected |
FeatureSupport(String key) |
protected |
FeatureSupport(String key,
boolean supported) |
Modifier and Type | Method and Description |
---|---|
static String |
asString(Feature feature) |
Configuration |
config() |
Component |
create() |
Component |
create(Configuration context) |
protected abstract Component |
doCreate() |
int |
hashCode() |
String |
key() |
String |
name() |
protected Provider |
provider() |
void |
require() |
boolean |
supported() |
String |
toString() |
protected final org.slf4j.Logger log
protected final String key
protected final Configuration config
protected final boolean supported
protected Provider provider
protected FeatureSupport(String key, boolean supported)
protected FeatureSupport(String key)
public Configuration config()
public Component create(Configuration context) throws Exception
protected Provider provider()
Copyright © 2006–2013 Codehaus. All rights reserved.