org.omg.CosNaming.BindingListHolder Java Examples

The following examples show how to use org.omg.CosNaming.BindingListHolder. 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: NamingContextImpl.java    From jdk1.8-source-analysis with Apache License 2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #2
Source File: NamingContextImpl.java    From openjdk-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #3
Source File: NamingContextImpl.java    From openjdk-8-source with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #4
Source File: NamingContextImpl.java    From TencentKona-8 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #5
Source File: NamingContextImpl.java    From hottub with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #6
Source File: NamingContextImpl.java    From jdk8u60 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #7
Source File: NamingContextImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #8
Source File: NamingContextImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #9
Source File: NamingContextImpl.java    From JDKSourceCode1.8 with MIT License 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #10
Source File: NamingContextImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 6 votes vote down vote up
/**
 * List the contents of this NamingContest. A sequence of bindings
 * is returned (a BindingList) containing up to the number of requested
 * bindings, and a BindingIterator object reference is returned for
 * iterating over the remaining bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @param bi The BindingIterator as an out parameter.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see BindingListHolder
 * @see BindingIteratorImpl
 */
public  void list(int how_many, BindingListHolder bl,
    BindingIteratorHolder bi)
{
    // List actually generates the list
    NamingContextDataStore impl = (NamingContextDataStore)this;
    synchronized (impl) {
        impl.List(how_many,bl,bi);
    }
    if( readLogger.isLoggable( Level.FINE ) && (bl.value != null )) {
        // isLoggable call to make sure that we save some precious
        // processor cycles, if there is no need to log.
        readLogger.fine ( LogKeywords.NAMING_LIST_SUCCESS +
            "list(" + how_many + ") -> bindings[" + bl.value.length +
            "] + iterator: " + bi.value);
    }
}
 
Example #11
Source File: BindingIteratorImpl.java    From openjdk-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #12
Source File: BindingIteratorImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #13
Source File: BindingIteratorImpl.java    From hottub with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #14
Source File: BindingIteratorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param blh The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #15
Source File: BindingIteratorImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #16
Source File: BindingIteratorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #17
Source File: BindingIteratorImpl.java    From JDKSourceCode1.8 with MIT License 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #18
Source File: BindingIteratorImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #19
Source File: BindingIteratorImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #20
Source File: BindingIteratorImpl.java    From jdk8u60 with GNU General Public License v2.0 5 votes vote down vote up
/**
 * lists next n bindings. It returns true or false, indicating
 * whether there were more bindings. This method has the package private
 * scope, It will be called from NamingContext.list() operation or
 * this.next_n().
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 */
public boolean list( int how_many, org.omg.CosNaming.BindingListHolder blh)
{
    // Take the smallest of what's left and what's being asked for
    int numberToGet = Math.min(RemainingElements(),how_many);

    // Create a resulting BindingList
    Binding[] bl = new Binding[numberToGet];
    BindingHolder bh = new BindingHolder();
    int i = 0;
    // Keep iterating as long as there are entries
    while (i < numberToGet && this.NextOne(bh) == true) {
        bl[i] = bh.value;
        i++;
    }
    // Found any at all?
    if (i == 0) {
        // No
        blh.value = new Binding[0];
        return false;
    }

    // Set into holder
    blh.value = bl;

    return true;
}
 
Example #21
Source File: BindingIteratorImpl.java    From openjdk-8-source with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #22
Source File: BindingIteratorImpl.java    From TencentKona-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #23
Source File: BindingIteratorImpl.java    From hottub with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #24
Source File: BindingIteratorImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param blh The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #25
Source File: BindingIteratorImpl.java    From jdk8u60 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #26
Source File: BindingIteratorImpl.java    From jdk1.8-source-analysis with Apache License 2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #27
Source File: BindingIteratorImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #28
Source File: BindingIteratorImpl.java    From openjdk-8 with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #29
Source File: BindingIteratorImpl.java    From JDKSourceCode1.8 with MIT License 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}
 
Example #30
Source File: BindingIteratorImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 3 votes vote down vote up
/**
 * Return the next n bindings. It also returns true or false, indicating
 * whether there were more bindings.
 * @param how_many The number of requested bindings in the BindingList.
 * @param bl The BindingList as an out parameter.
 * @return true if there were more bindings.
 * @exception org.omg.CORBA.SystemException One of a fixed set of CORBA
 * system exceptions.
 * @see NextOne
 */
public synchronized boolean next_n(int how_many,
    org.omg.CosNaming.BindingListHolder blh)
{
    if( how_many == 0 ) {
        throw new BAD_PARAM( " 'how_many' parameter is set to 0 which is" +
        " invalid" );
    }
    return list( how_many, blh );
}