gr.uoa.di.madgik.grs.buffer
Class BufferFactory
java.lang.Object
gr.uoa.di.madgik.grs.buffer.BufferFactory
public class BufferFactory
- extends 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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BufferFactory
public BufferFactory()
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
Copyright © 2012. All Rights Reserved.