Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.server.util
Interface Context

All Known Implementing Classes:
LocalContext, SessionContext

public interface Context


Method Summary
<T> T
getAttribute(Class<T> type)
           
<T> T
getAttribute(Class<T> type, Class<?> typeIndexed)
           
<T> T
getAttribute(Class<T> type, Enum<?> key)
           
<T> T
getAttribute(Class<T> type, String param)
           
 Collection<String> getAttributeNames()
           
 boolean hasAttribute(String param)
           
 Object removeAttribute(Class<?> typeIndexed)
           
 Object removeAttribute(Enum<?> key)
           
 Object removeAttribute(String param)
           
 void setAttribute(Class<?> typeIndexed, Object value)
           
 void setAttribute(Enum<?> key, Object value)
           
 void setAttribute(String param, Object value)
           
 

Method Detail

setAttribute

void setAttribute(Enum<?> key,
                  Object value)

setAttribute

void setAttribute(Class<?> typeIndexed,
                  Object value)

setAttribute

void setAttribute(String param,
                  Object value)

getAttribute

<T> T getAttribute(Class<T> type,
                   Enum<?> key)

getAttribute

<T> T getAttribute(Class<T> type,
                   Class<?> typeIndexed)

getAttribute

<T> T getAttribute(Class<T> type)

getAttribute

<T> T getAttribute(Class<T> type,
                   String param)

hasAttribute

boolean hasAttribute(String param)

getAttributeNames

Collection<String> getAttributeNames()

removeAttribute

Object removeAttribute(Enum<?> key)

removeAttribute

Object removeAttribute(Class<?> typeIndexed)

removeAttribute

Object removeAttribute(String param)

Errai 3.0.1-SNAPSHOT

Copyright © 2013-2014 JBoss, a division of Red Hat. All Rights Reserved.