Examples of RioServiceDescriptor


Examples of org.rioproject.start.RioServiceDescriptor

            optionsList.add("-bindAddress");
            optionsList.add(address);
        }
        optionsList.add(portOptionArg);
        optionsList.add(portArg);
        return(new RioServiceDescriptor("",
                                        policy,
                                        webster,
                                        websterClass,
                                        optionsList.toArray(new String[optionsList.size()])));
    }
View Full Code Here

Examples of org.rioproject.start.RioServiceDescriptor

     */
    public static ServiceDescriptor getCybernode(final String policy, final String... cybernodeConfig) throws IOException {
        String cybernodeClasspath = getCybernodeClasspath();
        String cybernodeCodebase = getCybernodeCodebase();
        String implClass = "org.rioproject.cybernode.service.CybernodeImpl";
        return(new RioServiceDescriptor(cybernodeCodebase, policy, cybernodeClasspath, implClass, cybernodeConfig));
    }
View Full Code Here

Examples of org.rioproject.start.RioServiceDescriptor

        classPath.append(makePath(rioHome+File.separator+"lib", jarList.toArray(new String[jarList.size()])));
        String implClass = "org.rioproject.monitor.service.ProvisionMonitorImpl";
        String monitorCodebase =
            createAnnotatedArtifactURL(String.format("artifact:org.rioproject.monitor/monitor-proxy/%s",
                                                     RioVersion.VERSION));
        return (new RioServiceDescriptor(monitorCodebase, policy, classPath.toString(), implClass, monitorConfig));
    }
View Full Code Here

Examples of org.rioproject.start.RioServiceDescriptor

        File reggieDL = FileHelper.find(new File(rioHome, "lib-dl"), "reggie-dl");
        //String reggieCodebase = "artifact:org.apache.river/reggie-dl/"+ FileHelper.getJarVersion(reggieDL.getName());
        String reggieCodebase = createAnnotatedArtifactURL(String.format("artifact:org.apache.river/reggie-dl/%s",
                                                                         FileHelper.getJarVersion(reggieDL.getName())));
        String implClass = "com.sun.jini.reggie.TransientRegistrarImpl";
        return (new RioServiceDescriptor(reggieCodebase, policy, reggieClasspath, implClass, lookupConfig));
    }
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.