Examples of ApplicationServer


Examples of org.apache.openejb.spi.ApplicationServer

        jndiBuilder = new JndiBuilder(containerSystem.getJNDIContext());

        setConfiguration(new OpenEjbConfiguration());

        ApplicationServer appServer = system.getComponent(ApplicationServer.class);
        if (appServer == null) {
            system.setComponent(ApplicationServer.class, new org.apache.openejb.core.ServerFederation());
        }

        system.setComponent(EjbResolver.class, new EjbResolver(null, EjbResolver.Scope.GLOBAL));
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

        boolean offline = true;
        configurationFactory = new ConfigurationFactory(offline);
        assembler = new Assembler();

        // install application server
        ApplicationServer applicationServer = new ServerFederation();
        SystemInstance.get().setComponent(ApplicationServer.class, applicationServer);

        // install transaction manager
        transactionManager = getRawService(kernel, transactionManager);
        TransactionServiceInfo transactionServiceInfo = new TransactionServiceInfo();
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

        } else if (type == Short.TYPE) {
            out.write_short(((Short) object).shortValue());
        else {
            // object types must bbe written in the context of the corba application server
            // which properly write replaces our objects for corba
            ApplicationServer oldApplicationServer = ServerFederation.getApplicationServer();
            try {
                ServerFederation.setApplicationServer(corbaApplicationServer);

                // todo check if
                // copy the result to force replacement
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

            /*
            * If the proxy is serialized outside the core container system,
            * we allow the application server to handle it.
            */
        } else {
            ApplicationServer applicationServer = ServerFederation.getApplicationServer();
            if (interfaceType.isBusiness()){
                return applicationServer.getBusinessObject(this.getProxyInfo());
            } else {
                return applicationServer.getEJBObject(this.getProxyInfo());
            }
        }
    }
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

        jndiBuilder = new JndiBuilder(containerSystem.getJNDIContext());

        setConfiguration(new OpenEjbConfiguration());

        ApplicationServer appServer = system.getComponent(ApplicationServer.class);
        if (appServer == null) {
            system.setComponent(ApplicationServer.class, new org.apache.openejb.core.ServerFederation());
        }
    }
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

            * If the meta data is serialized outside the core container system,
            * we allow the application server to handle it.
            */
        } else {
            BaseEjbProxyHandler handler = (BaseEjbProxyHandler) ProxyManager.getInvocationHandler(homeStub);
            ApplicationServer applicationServer = ServerFederation.getApplicationServer();
            return applicationServer.getEJBMetaData(handler.getProxyInfo());
        }
    }
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

            /*
            * If the proxy is serialized outside the core container system,
            * we allow the application server to handle it.
            */
        } else {
            ApplicationServer applicationServer = ServerFederation.getApplicationServer();
            return applicationServer.getEJBHome(this.getProxyInfo());
        }
    }
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

            applicationServer.set(server);
        }
    }

    public static ApplicationServer getApplicationServer() {
        final ApplicationServer server = applicationServer.get();
        if (server == null) {
            // todo: consider making this the thread local intialValue
            return localServer;
        }
        return server;
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

            * If the meta data is serialized outside the core container system,
            * we allow the application server to handle it.
            */
        } else {
            final BaseEjbProxyHandler handler = (BaseEjbProxyHandler) ProxyManager.getInvocationHandler(homeStub);
            final ApplicationServer applicationServer = ServerFederation.getApplicationServer();
            return applicationServer.getEJBMetaData(handler.getProxyInfo());
        }
    }
View Full Code Here

Examples of org.apache.openejb.spi.ApplicationServer

            */
        } else if (!interfaceType.isRemote()) {
            return proxy;

        } else {
            final ApplicationServer applicationServer = ServerFederation.getApplicationServer();
            return applicationServer.getEJBHome(this.getProxyInfo());
        }
    }
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.