Examples of initContext()


Examples of org.apache.geronimo.j2ee.deployment.ModuleBuilder.initContext()

                deploymentContext.flush();
                deploymentContext.initializeConfiguration();

                webModule.getJndiScope(JndiScope.app).put("app/AppName", webModule.getName());

                webModuleBuilder.initContext(deploymentContext, webModule, bundle);

                AbstractName appJndiName = naming.createChildName(deploymentContext.getModuleName(), "ApplicationJndi", "ApplicationJndi");
                deploymentContext.getGeneralData().put(EARContext.APPLICATION_JNDI_NAME_KEY, appJndiName);

                webModuleBuilder.addGBeans(deploymentContext, webModule, bundle, extender.getRepositories());
View Full Code Here

Examples of org.apache.geronimo.j2ee.deployment.ModuleBuilder.initContext()

    }

    public void initContext(EARContext earContext, Module module, ClassLoader cl) throws DeploymentException {
        String namespace = module.getNamespace();
        ModuleBuilder builder = getBuilderFromNamespace(namespace);
        builder.initContext(earContext, module, cl);
    }

    public void addGBeans(EARContext earContext, Module module, ClassLoader cl) throws DeploymentException {
        String namespace = module.getNamespace();
        ModuleBuilder builder = getBuilderFromNamespace(namespace);
View Full Code Here

Examples of org.apache.geronimo.j2ee.deployment.ModuleBuilder.initContext()

                deploymentContext.flush();
                deploymentContext.initializeConfiguration();

                webModule.getJndiScope(JndiScope.app).put("app/AppName", webModule.getName());

                webModuleBuilder.initContext(deploymentContext, webModule, bundle);

                AbstractName appJndiName = naming.createChildName(deploymentContext.getModuleName(), "ApplicationJndi", "ApplicationJndi");
                deploymentContext.getGeneralData().put(EARContext.APPLICATION_JNDI_NAME_KEY, appJndiName);

                webModuleBuilder.addGBeans(deploymentContext, webModule, bundle, extender.getRepositories());
View Full Code Here

Examples of org.apache.geronimo.j2ee.deployment.ModuleBuilder.initContext()

                Map<JndiKey, Map<String, Object>> contexts = NamingBuilder.JNDI_KEY.get(deploymentContext.getGeneralData());
                Map<String, Object> app = new HashMap<String, Object>();
                app.put("app/AppName", webModule.getName());
                contexts.put(JndiScope.app, app);
               
                webModuleBuilder.initContext(deploymentContext, webModule, bundle);

                AbstractName appJndiName = naming.createChildName(deploymentContext.getModuleName(), "ApplicationJndi", "ApplicationJndi");
                deploymentContext.getGeneralData().put(EARContext.APPLICATION_JNDI_NAME_KEY, appJndiName);

                webModuleBuilder.addGBeans(deploymentContext, webModule, bundle, extender.getRepositories());
View Full Code Here

Examples of org.apache.geronimo.j2ee.deployment.ModuleBuilder.initContext()

                    null,
                    null);

            action.install(moduleBuilder, earContext, module);
            earContext.getClassLoader(null);
            moduleBuilder.initContext(earContext, module, cl);
            moduleBuilder.addGBeans(earContext, module, cl);
            earContext.close();

            File tempdir = new File(System.getProperty("java.io.tmpdir"));
            File unpackedDir = new File(tempdir, "OpenEJBTest-Unpacked");
View Full Code Here

Examples of org.apache.geronimo.j2ee.deployment.ModuleBuilder.initContext()

                    null,
                    null);

            action.install(moduleBuilder, earContext, module);
            earContext.getClassLoader(null);
            moduleBuilder.initContext(earContext, module, cl);
            moduleBuilder.addGBeans(earContext, module, cl);
            earContext.close();

            File tempdir = new File(System.getProperty("java.io.tmpdir"));
            File unpackedDir = new File(tempdir, "OpenEJBTest-Unpacked");
View Full Code Here

Examples of org.apache.xpath.axes.UnionPathIterator.initContext()

          // will never happen.
        }
        //mnodeset.addNodesInDocOrder(nl, xctxt); needed??
      }

      upi.initContext(xctxt);

      nodes = new XNodeSet(upi);
    }
    else
    {
View Full Code Here

Examples of org.objectweb.celtix.bus.transports.http.HTTPServerInputStreamContext.initContext()

                origInputStream = inStream;
            }
        };
        ctx.put(HTTPServerInputStreamContext.HTTP_REQUEST, req);
        ctx.put(HTTPServerInputStreamContext.HTTP_RESPONSE, resp);
        ctx.initContext();
       
        callback.dispatch(ctx, this);
    }   
}
View Full Code Here

Examples of org.objectweb.celtix.bus.transports.http.HTTPServerInputStreamContext.initContext()

                inStream = response.getRequestInputStream();
                origInputStream = inStream;
            }
        };
        ctx.put(PIPE_RESPONSE, response);
        ctx.initContext();
       
        callback.dispatch(ctx, this);
    }
   
View Full Code Here

Examples of org.renjin.eval.EvalException.initContext()

  }
 
  @Internal(".dfltStop")
  public static void defaultStop(@Current Context context, String message, FunctionCall call) {
    EvalException e = new EvalException(message);
    e.initContext(context);
    throw e;
  }
 
  @Internal(".dfltStop")
  public static void defaultStop(@Current Context context, String message, Null nz) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.