Java Code Examples for com.sun.corba.se.impl.naming.cosnaming.NamingContextDataStore#List

The following examples show how to use com.sun.corba.se.impl.naming.cosnaming.NamingContextDataStore#List . 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 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 3
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 4
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 5
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 6
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 7
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 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 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 10
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 11
Source File: NamingContextImpl.java    From openjdk-8 with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 12
Source File: NamingContextImpl.java    From openjdk-8-source with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 13
Source File: NamingContextImpl.java    From hottub with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 14
Source File: NamingContextImpl.java    From openjdk-jdk9 with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 15
Source File: NamingContextImpl.java    From openjdk-jdk8u-backup with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 16
Source File: NamingContextImpl.java    From openjdk-jdk8u with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 17
Source File: NamingContextImpl.java    From JDKSourceCode1.8 with MIT License 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 18
Source File: NamingContextImpl.java    From jdk8u60 with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 19
Source File: NamingContextImpl.java    From TencentKona-8 with GNU General Public License v2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }
 
Example 20
Source File: NamingContextImpl.java    From jdk1.8-source-analysis with Apache License 2.0 5 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)
 {
     if (debug)
         dprint("list(" + how_many + ")");
     // List actually generates the list
     NamingContextDataStore impl = (NamingContextDataStore)this;
     synchronized (impl) {
         impl.List(how_many,bl,bi);
     }
     if (debug && bl.value != null)
         dprint("list(" + how_many + ") -> bindings[" + bl.value.length +
                "] + iterator: " + bi.value);
 }