org.apache.myfaces.extensions.cdi.core.api.config
Interface AttributeAware

All Superinterfaces:
Serializable
All Known Subinterfaces:
WindowContext
All Known Implementing Classes:
AbstractAttributeAware

public interface AttributeAware
extends Serializable

This interface is just for internal use. It should ensure that refactorings don't lead to different method-names for the same purpose. Furthermore, it allows to easily find all artifacts which allow generic attributes.

Author:
Gerhard Petracek

Method Summary
 boolean containsAttribute(String name)
           
<T> T
getAttribute(String name, Class<T> targetType)
           
 boolean setAttribute(String name, Object value)
           
 boolean setAttribute(String name, Object value, boolean forceOverride)
           
 

Method Detail

setAttribute

boolean setAttribute(String name,
                     Object value)

setAttribute

boolean setAttribute(String name,
                     Object value,
                     boolean forceOverride)

containsAttribute

boolean containsAttribute(String name)

getAttribute

<T> T getAttribute(String name,
                   Class<T> targetType)


Copyright © 2010 The Apache Software Foundation. All Rights Reserved.