01 package org.apache.qpid.management.wsdm.muse.engine;
02
03 import javax.servlet.ServletContext;
04
05 import org.apache.muse.core.Environment;
06 import org.apache.muse.core.platform.mini.MiniIsolationLayer;
07
08 /**
09 * QMan specific implementation of the Apache Muse isolation layer.
10 * If you are a Muse expert you were wondering why don't we use the muse default implementation...
11 * well,
12 *
13 * @author Andrea Gazzarini
14 */
15 public class WSDMAdapterIsolationLayer extends MiniIsolationLayer
16 {
17 /**
18 * Builds a new isolation layer with the given application context.
19 *
20 * @param initialContext the application context.
21 */
22 public WSDMAdapterIsolationLayer(ServletContext initialContext)
23 {
24 super(null, initialContext);
25 }
26
27 /**
28 * WSDMAdapterEnvironment factory method.
29 *
30 * @return the environment.
31 */
32 protected Environment createEnvironment()
33 {
34 return new WSDMAdapterEnvironment(getInitialContext());
35 }
36 }
|