Java Code Examples for com.sun.corba.se.spi.orb.ORBData#getORBId()
The following examples show how to use
com.sun.corba.se.spi.orb.ORBData#getORBId() .
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: ORB.java From jdk1.8-source-analysis with Apache License 2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 2
Source File: ORB.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 3
Source File: ORB.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 4
Source File: ORB.java From JDKSourceCode1.8 with MIT License | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 5
Source File: ORB.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 6
Source File: ORB.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 7
Source File: ORB.java From hottub with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 8
Source File: ORB.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }
Example 9
Source File: ORB.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
/** * Returns the logger based on the category. */ public Logger getLogger( String domain ) { synchronized (this) { checkShutdownState(); } ORBData odata = getORBData() ; // Determine the correct ORBId. There are 3 cases: // 1. odata is null, which happens if we are getting a logger before // ORB initialization is complete. In this case we cannot determine // the ORB ID (it's not known yet), so we set the ORBId to // _INITIALIZING_. // 2. odata is not null, so initialization is complete, but ORBId is set to // the default "". To avoid a ".." in // the log domain, we simply use _DEFAULT_ in this case. // 3. odata is not null, ORBId is not "": just use the ORBId. String ORBId ; if (odata == null) ORBId = "_INITIALIZING_" ; else { ORBId = odata.getORBId() ; if (ORBId.equals("")) ORBId = "_DEFAULT_" ; } return getCORBALogger( ORBId, domain ) ; }