Class StreamStore

java.lang.Object
org.eclnt.jsfserver.streamstore.StreamStore

public class StreamStore extends Object
Factory for accessing stream store objects.

Internally the stream store management is connected to the tenant management using interface ITenantAccess. Per tenant one IStreamStore instance is kept.

Up to 20190923 the stream store only managed UTF8-String data. With 20190923 binary data was introduced as well. Implementations that "only" support IStreamStore are automatically wrapped using a wrapper object of StreamStoreWithBinaryWrapper.
  • Constructor Details

    • StreamStore

      public StreamStore()
  • Method Details

    • initialize

      public static void initialize(javax.servlet.ServletContext servletContext)
    • getInstance

      public static IStreamStore getInstance()
      This is the default access to the implementation of IStreamStore. The default stream store provides access ot UTF8 based strings.
    • getCrossTenantInstance

      public static IStreamStore getCrossTenantInstance()
      In most cases information within the stream store is kept separated by the current tenant. In some cases information needs to be stored cross-tenant. (e.g. style information needs to be available before tenant selection)
    • getInstanceWithBinary

      public static IStreamStoreWithBinary getInstanceWithBinary()
      This is the default access to the implementation of IStreamStoreWithBinary.
    • getCrossTenantInstanceWithBinary

      public static IStreamStoreWithBinary getCrossTenantInstanceWithBinary()
      In most cases information within the stream store is kept separated by the current tenant. In some cases information needs to be stored cross-tenant. (e.g. style information needs to be available before tenant selection)