2016/02/07 - Apache Onami has been retired.

For more information, please explore the Attic.

public interface

PersistenceFilter

implements Filter
org.apache.onami.persist.PersistenceFilter

Class Overview

Filter for use in container. The filter will start all persistence services upon container start and span a unit of work around every request which is filtered.

Usage example:

  public class MyModule extends ServletModule {
    public void configure() {
      // other bindings

      filter("/*").through(PersistenceFilter.class);
    }
  }
 

Summary

[Expand]
Inherited Methods
From interface javax.servlet.Filter