Java Code Examples for com.sun.jndi.toolkit.corba.CorbaUtils#getOrb()

The following examples show how to use com.sun.jndi.toolkit.corba.CorbaUtils#getOrb() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: CNCtx.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 2
Source File: CNCtx.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 3
Source File: CNCtx.java    From jdk8u_jdk with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 4
Source File: CNCtx.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 5
Source File: Test6852078.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 6
Source File: CNCtx.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 7
Source File: Test6852078.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 8
Source File: CNCtx.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 9
Source File: Test6852078.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 10
Source File: CNCtx.java    From jdk8u-jdk with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 11
Source File: CNCtx.java    From dragonwell8_jdk with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 12
Source File: Test6852078.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 13
Source File: CNCtx.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 14
Source File: Test6852078.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 15
Source File: CNCtx.java    From jdk8u-dev-jdk with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 16
Source File: Test6852078.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 17
Source File: CNCtx.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 18
Source File: Test6852078.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }
 
Example 19
Source File: CNCtx.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
private synchronized static ORB getDefaultOrb() {
    if (_defaultOrb == null) {
        _defaultOrb = CorbaUtils.getOrb(null, -1,
           new Hashtable<String, java.lang.Object>());
    }
    return _defaultOrb;
}
 
Example 20
Source File: Test6852078.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
public Test6852078(String [] args) {

        int capacity = 128;
        ByteBuffer bb = ByteBuffer.allocateDirect(capacity);
        ByteBufferWithInfo bbwi = new ByteBufferWithInfo( CorbaUtils.getOrb(null, -1, new Hashtable()), bb);
        byte[] tmpBuf;
        tmpBuf = new byte[bbwi.buflen];

        for (int i = 0; i < capacity; i++)
            tmpBuf[i] = bbwi.byteBuffer.get(i);
    }