Examples of EngineConfiguration


Examples of com.tinkerpop.rexster.protocol.EngineConfiguration

        staticImports.add("com.thinkaurelius.titan.core.attribute.Text.*");
        staticImports.add("com.thinkaurelius.titan.core.TypeMaker$UniquenessConsistency.*");
        staticImports.add("com.tinkerpop.blueprints.Query$Compare.*");
        config.setProperty("static-imports", staticImports);

        EngineConfiguration engineConfiguration = new EngineConfiguration(config);

        List<EngineConfiguration> engineConfigurations = new ArrayList<>();
        engineConfigurations.add(engineConfiguration);

        EngineController.configure(engineConfigurations);
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

    try {
      Thread.currentThread().setContextClassLoader(Activator.class.getClassLoader());
      URL url = this.getClass().getResource("/axis/server-config.wsdd");
      InputStream is = url.openStream();
     
      EngineConfiguration fromBundleResource = new FileProvider(is);
     
      log.info("Configuration file read.");
      axisServer = new AxisServer(fromBundleResource);
      log.info("Axis server started.");
      webApp = new WebApp(getWebAppDescriptor());
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

            // set engine to client engine
            engine = engine.getClientEngine();
        }

        WSDDDocument wsddDoc = new WSDDDocument(root);
        EngineConfiguration config = engine.getConfig();
        if (config instanceof WSDDEngineConfiguration) {
            WSDDDeployment deployment =
                ((WSDDEngineConfiguration)config).getDeployment();
            wsddDoc.deploy(deployment);
        }
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

    {
        StringWriter writer = new StringWriter();
        SerializationContext context = new SerializationContextImpl(writer, null);
        context.setPretty(true);
        try {
            EngineConfiguration config = engine.getConfig();

            if (config instanceof WSDDEngineConfiguration) {
                WSDDDeployment deployment =
                    ((WSDDEngineConfiguration)config).getDeployment();
                deployment.writeToContext(context);
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

     * configuration, or using the default constructor if null is passed.
     *
     * @return a shiny new AxisServer, ready for use.
     */
    private static AxisServer createServer(Map environment) {
        EngineConfiguration config = getEngineConfiguration(environment);

        // Return new AxisServer using the appropriate config
        return (config == null) ? new AxisServer() : new AxisServer(config);
    }
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

     */
    private static EngineConfiguration getEngineConfiguration(Map environment)
    {
        log.debug("Enter: DefaultAxisServerFactory::getEngineConfiguration");

        EngineConfiguration config = null;

        if (environment != null) {
            try {
                config = (EngineConfiguration)environment.get(EngineConfiguration.PROPERTY_NAME);
            } catch (ClassCastException e) {
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

    public static Service getService(Map environment)
    {
        Service service = null;
        InitialContext context = null;

        EngineConfiguration configProvider =
            (EngineConfiguration)environment.get(EngineConfiguration.PROPERTY_NAME);

        if (configProvider == null)
            configProvider = (EngineConfiguration)threadDefaultConfig.get();
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

            // set engine to client engine
            engine = engine.getClientEngine();
        }

        WSDDDocument wsddDoc = new WSDDDocument(root);
        EngineConfiguration config = engine.getConfig();
        if (config instanceof WSDDEngineConfiguration) {
            WSDDDeployment deployment =
                ((WSDDEngineConfiguration)config).getDeployment();
            wsddDoc.deploy(deployment);
        }
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

    {
        StringWriter writer = new StringWriter();
        SerializationContext context = new SerializationContextImpl(writer, null);
        context.setPretty(true);
        try {
            EngineConfiguration config = engine.getConfig();

            if (config instanceof WSDDEngineConfiguration) {
                WSDDDeployment deployment =
                    ((WSDDEngineConfiguration)config).getDeployment();
                deployment.writeToContext(context);
View Full Code Here

Examples of org.apache.axis.EngineConfiguration

        String webInfPath = context.getRealPath("/WEB-INF");
        if (webInfPath != null)
            environment.put(AxisEngine.ENV_SERVLET_REALPATH,
                            webInfPath + File.separator + "attachments");

        EngineConfiguration config =
            EngineConfigurationFactoryFinder.newFactory(context)
                    .getServerEngineConfig();

        if (config != null) {
            environment.put(EngineConfiguration.PROPERTY_NAME, config);
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.