Package com.sun.enterprise.iiop

Examples of com.sun.enterprise.iiop.SFSBServiceContextInfo


 
    private static ThreadLocal<SFSBServiceContextInfo> scTLD
        = new ThreadLocal<SFSBServiceContextInfo>();

    public static long getRequestClientVersion() {
        SFSBServiceContextInfo ctx = scTLD.get();
        return (ctx != null) ? ctx.requestVersion : NO_VERSION;
    }
View Full Code Here


        SFSBServiceContextInfo ctx = scTLD.get();
        return (ctx != null) ? ctx.requestVersion : NO_VERSION;
    }
   
    public static void setRequestClientVersion(long val) {
        SFSBServiceContextInfo ctx = scTLD.get();
        if (ctx == null) {
            ctx = new SFSBServiceContextInfo();
            scTLD.set(ctx);
        }

        ctx.requestVersion = val;
    }
View Full Code Here

        ctx.requestVersion = val;
    }
   
    public static void clearRequestClientVersion() {
        SFSBServiceContextInfo ctx = scTLD.get();
        if (ctx != null) {
            ctx.requestVersion = NO_VERSION;
        }
    }
View Full Code Here

            ctx.requestVersion = NO_VERSION;
        }
    }
   
    public static long getResponseClientVersion() {
        SFSBServiceContextInfo ctx = scTLD.get();
        return (ctx != null) ? ctx.responseVersion : NO_VERSION;
    }
View Full Code Here

        SFSBServiceContextInfo ctx = scTLD.get();
        return (ctx != null) ? ctx.responseVersion : NO_VERSION;
    }

    public static void setResponseClientVersion(long val) {
        SFSBServiceContextInfo ctx = scTLD.get();
        if (ctx == null) {
            ctx = new SFSBServiceContextInfo();
            scTLD.set(ctx);
        }

        ctx.responseVersion = val;
    }
View Full Code Here

        ctx.responseVersion = val;
    }
   
    public static void clearResponseClientVersion() {
        SFSBServiceContextInfo ctx = scTLD.get();
        if (ctx != null) {
            ctx.responseVersion = NO_VERSION;
        }
    }
View Full Code Here

TOP

Related Classes of com.sun.enterprise.iiop.SFSBServiceContextInfo

Copyright © 2018 www.massapicom. 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.