Errai 3.0.1-SNAPSHOT

org.jboss.errai.bus.client.api.laundry
Class LaundryListProviderFactory

java.lang.Object
  extended by org.jboss.errai.bus.client.api.laundry.LaundryListProviderFactory

public class LaundryListProviderFactory
extends Object

A factory to create instances of LaundryListProvider.

Author:
Mike Brock, Jonathan Fuerth , Christian Sadilek

Constructor Summary
LaundryListProviderFactory()
           
 
Method Summary
static LaundryListProvider get()
          The client and server require different laundry list implementations; this method provides the correct implementation from wherever is called.
static void setLaundryListProvider(LaundryListProvider p)
          For internal use only.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaundryListProviderFactory

public LaundryListProviderFactory()
Method Detail

get

public static LaundryListProvider get()
The client and server require different laundry list implementations; this method provides the correct implementation from wherever is called.

Returns:
the laundry list provider

setLaundryListProvider

public static void setLaundryListProvider(LaundryListProvider p)
For internal use only. Do not call.

The first provider given wins. Subsequent calls have no effect.


Errai 3.0.1-SNAPSHOT

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