Examples of RioManifest


Examples of org.rioproject.util.RioManifest

     * Get the {@link net.jini.lookup.entry.ServiceInfo} for the Monitor
     */
    @Override
    protected ServiceInfo getServiceInfo() {
        URL implUrl = getClass().getProtectionDomain().getCodeSource().getLocation();
        RioManifest rioManifest;
        String build = null;
        try {
            rioManifest = new RioManifest(implUrl);
            build = rioManifest.getRioBuild();
        } catch(IOException e) {
            logger.warn("Getting Rio Manifest", e);
        }
        if(build==null)
            build="0";
View Full Code Here

Examples of org.rioproject.util.RioManifest

     */
    public static String getBuildNumber() {
        String build;
        URL implUrl = RioVersion.class.getProtectionDomain().getCodeSource().getLocation();
        try {
            RioManifest rioManifest = new RioManifest(implUrl);
            build = rioManifest.getRioBuild();
        } catch (IOException e) {
            e.printStackTrace();
            build = e.getClass().getName()+": "+e.getMessage();
        }
        return build;
View Full Code Here

Examples of org.rioproject.util.RioManifest

     * @return The ServiceInfo
     */
    @Override
    protected ServiceInfo getServiceInfo() {
        URL implUrl = getClass().getProtectionDomain().getCodeSource().getLocation();
        RioManifest rioManifest;
        String build = null;
        try {
            rioManifest = new RioManifest(implUrl);
            build = rioManifest.getRioBuild();
        } catch(IOException e) {
            logger.warn("Getting Rio Manifest", e);
        }
        if(build==null)
            build="0";
View Full Code Here

Examples of org.rioproject.util.RioManifest

        }

        if(build==null) {
            URL implUrl = getClass().getProtectionDomain().getCodeSource().getLocation();
            try {
                RioManifest rioManifest = new RioManifest(implUrl);
                build = rioManifest.getRioBuild();
            } catch (Exception e) {
                e.printStackTrace();
                build = e.getClass().getName()+": "+e.getMessage();
            }
        }
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.