net.kwfgrid.gwes.uiproxy
Class DefaultBufferFactory

java.lang.Object
  extended by net.kwfgrid.gwes.uiproxy.DefaultBufferFactory
All Implemented Interfaces:
BufferFactory

public class DefaultBufferFactory
extends Object
implements BufferFactory

Default implementation of BufferFactory.


Method Summary
 Buffer createBuffer(String type, Properties props)
          Create a NotificationBuffer.
static BufferFactory getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static BufferFactory getInstance()

createBuffer

public Buffer createBuffer(String type,
                           Properties props)
                    throws InstantiationException
Create a NotificationBuffer.

Specified by:
createBuffer in interface BufferFactory
Parameters:
type - The type of the buffer; this must be the fully qualified java classname of the buffer's class. The class must be subclass of AbstractBuffer.
props - Properties that should be passed to the new buffer.
Returns:
The new buffer.
Throws:
InstantiationException - If the buffer could not be created.


Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.