javax.naming.event.NamingExceptionEvent Java Examples
The following examples show how to use
javax.naming.event.NamingExceptionEvent.
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: Initializer.java From sis with Apache License 2.0 | 5 votes |
/** * Invoked if JNDI lost connection to the server while preparing the {@code NamingEvent}. * Clears the data source anyway. In the worst case scenario, the application will fetch * it again from a the JNDI context. */ @Override public void namingExceptionThrown(NamingExceptionEvent event) { Logging.unexpectedException(Logging.getLogger(Loggers.SYSTEM), Listener.class, "namingExceptionThrown", event.getException()); objectChanged(null); }
Example #2
Source File: RemoveNamingListenerTest.java From dragonwell8_jdk with GNU General Public License v2.0 | 4 votes |
@Override public void namingExceptionThrown(NamingExceptionEvent nee) { //do nothing }
Example #3
Source File: RemoveNamingListenerTest.java From TencentKona-8 with GNU General Public License v2.0 | 4 votes |
@Override public void namingExceptionThrown(NamingExceptionEvent nee) { //do nothing }
Example #4
Source File: RemoveNamingListenerTest.java From openjdk-jdk8u with GNU General Public License v2.0 | 4 votes |
@Override public void namingExceptionThrown(NamingExceptionEvent nee) { //do nothing }
Example #5
Source File: WeakListenerTest.java From netbeans with Apache License 2.0 | 4 votes |
public void namingExceptionThrown(NamingExceptionEvent evt) { cnt++; }
Example #6
Source File: SessionFactoryRegistry.java From lams with GNU General Public License v2.0 | 4 votes |
@Override public void namingExceptionThrown(NamingExceptionEvent evt) { //noinspection ThrowableResultOfMethodCallIgnored LOG.namingExceptionAccessingFactory( evt.getException() ); }
Example #7
Source File: RemoveNamingListenerTest.java From jdk8u_jdk with GNU General Public License v2.0 | 4 votes |
@Override public void namingExceptionThrown(NamingExceptionEvent nee) { //do nothing }
Example #8
Source File: SessionFactoryObjectFactory.java From cacheonix-core with GNU Lesser General Public License v2.1 | 4 votes |
public void namingExceptionThrown(NamingExceptionEvent evt) { log.warn( "Naming exception occurred accessing factory: " + evt.getException() ); }
Example #9
Source File: LegacyLDAPSecuritySettingPlugin.java From activemq-artemis with Apache License 2.0 | 4 votes |
@Override public void namingExceptionThrown(NamingExceptionEvent evt) { LegacyLDAPSecuritySettingPlugin.this.namingExceptionThrown(evt); }
Example #10
Source File: LegacyLDAPSecuritySettingPlugin.java From activemq-artemis with Apache License 2.0 | 2 votes |
/** * Handler for exception events from the registry. * * @param namingExceptionEvent the exception event */ public void namingExceptionThrown(NamingExceptionEvent namingExceptionEvent) { context = null; ActiveMQServerLogger.LOGGER.caughtUnexpectedException(namingExceptionEvent.getException()); }