org.jboss.errai.workspaces.client.rpc
Class AdapterRegistry

java.lang.Object
  extended by org.jboss.errai.workspaces.client.rpc.AdapterRegistry

public class AdapterRegistry
extends Object


Field Summary
static Map<Class,Attachable> adapters
           
 
Constructor Summary
AdapterRegistry()
           
 
Method Summary
static void addAdapter(Class cls, Attachable attachable)
           
static Attachable getAdapter(Class cls)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

adapters

public static final Map<Class,Attachable> adapters
Constructor Detail

AdapterRegistry

public AdapterRegistry()
Method Detail

addAdapter

public static void addAdapter(Class cls,
                              Attachable attachable)

getAdapter

public static Attachable getAdapter(Class cls)


Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.