org.apache.myfaces.extensions.cdi.core.api.config
Class AbstractAttributeAware
java.lang.Object
org.apache.myfaces.extensions.cdi.core.api.config.AbstractAttributeAware
- All Implemented Interfaces:
- Serializable, AttributeAware
- Direct Known Subclasses:
- CodiCoreConfig, ConversationConfig, WindowContextConfig
public abstract class AbstractAttributeAware
- extends Object
- implements AttributeAware
Base implementation which implements AttributeAware
to support custom attributes.
- Author:
- Gerhard Petracek
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAttributeAware
public AbstractAttributeAware()
setAttribute
public boolean setAttribute(String name,
Object value)
- Specified by:
setAttribute
in interface AttributeAware
setAttribute
public boolean setAttribute(String name,
Object value,
boolean forceOverride)
- Specified by:
setAttribute
in interface AttributeAware
containsAttribute
public boolean containsAttribute(String name)
- Specified by:
containsAttribute
in interface AttributeAware
getAttribute
public <T> T getAttribute(String name,
Class<T> targetType)
- Specified by:
getAttribute
in interface AttributeAware
initConfig
protected void initConfig()
Copyright © 2010-2011 The Apache Software Foundation. All Rights Reserved.