Java Code Examples for com.sun.corba.se.spi.resolver.Resolver#list()
The following examples show how to use
com.sun.corba.se.spi.resolver.Resolver#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: ORBImpl.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 2
Source File: ORBImpl.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 3
Source File: ORBImpl.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 4
Source File: ORBImpl.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 5
Source File: ORBImpl.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 6
Source File: ORBImpl.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 7
Source File: ORBImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 8
Source File: ORBImpl.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 9
Source File: ORBImpl.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }
Example 10
Source File: ORBImpl.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Get a list of the initially available CORBA services. * This does not work unless an ORBInitialHost is specified during * initialization (or unless there is an ORB running on the AppletHost) * since the localhostname * is inaccessible to applets. If a service properties URL was specified, * then it is used, otherwise the bootstrapping protocol is used. * @return A list of the initial services available. */ public String[] list_initial_services() { Resolver res ; synchronized( this ) { checkShutdownState(); res = resolver ; } synchronized (resolverLock) { java.util.Set keys = res.list() ; return (String[])keys.toArray( new String[keys.size()] ) ; } }