View Javadoc

1   /*
2    * Copyright (c) 2005, The K-Wf Grid Consortium
3    * Fraunhofer Institute for Computer Architecture and Software Technology
4    * See http://www.kwfgrid.eu and http://www.first.fraunhofer.de for more details.
5    */
6   package net.kwfgrid.gwes.uiproxy;
7   
8   import java.util.Properties;
9   
10  /**
11     Interface for a buffer factory.
12   */
13  public interface BufferFactory {
14      /**
15         Create a NotificationBuffer.
16         @param type The type of the buffer.
17         @param props Properties that should be passed to the new buffer.
18         @return The new buffer.
19         @exception InstantiationException If the buffer could not be created.
20       */
21      Buffer createBuffer(String type, Properties props) throws InstantiationException;
22  }