gr.uoa.di.madgik.grs.buffer
Class BufferFactory

java.lang.Object
  extended by gr.uoa.di.madgik.grs.buffer.BufferFactory

public class BufferFactory
extends java.lang.Object

This utility class is used to initialize an instance of an IBuffer according to system configuration. Since the only available implementation of IBuffer is currently QueueBuffer, an instance of QueueBuffer is always created

Author:
gpapanikos

Constructor Summary
BufferFactory()
           
 
Method Summary
static IBuffer getBuffer()
          Instantiates the appropriate IBuffer implementation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BufferFactory

public BufferFactory()
Method Detail

getBuffer

public static IBuffer getBuffer()
Instantiates the appropriate IBuffer implementation. Since the only available implementation of IBuffer is currently QueueBuffer, an instance of QueueBuffer is always returned

Returns:
the IBuffer implementation