本文整理汇总了Java中javax.naming.event.NamingExceptionEvent类的典型用法代码示例。如果您正苦于以下问题:Java NamingExceptionEvent类的具体用法?Java NamingExceptionEvent怎么用?Java NamingExceptionEvent使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
NamingExceptionEvent类属于javax.naming.event包,在下文中一共展示了NamingExceptionEvent类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getSchema
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public DirContext getSchema(String name) throws NamingException {
List l = getListeners(name);
NamingExceptionEvent e = new NamingExceptionEvent(this,
new NamingException("Ok"));
for (int i = 0; i < l.size(); i++) {
e.dispatch((NamingListener) l.get(i));
}
return null;
}
示例2: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public void namingExceptionThrown(NamingExceptionEvent evt) {
cnt++;
}
示例3: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
@Override
public void namingExceptionThrown(NamingExceptionEvent evt) {
//noinspection ThrowableResultOfMethodCallIgnored
LOG.namingExceptionAccessingFactory(evt.getException());
}
示例4: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public void namingExceptionThrown(NamingExceptionEvent evt) {
log.warn( "Naming exception occurred accessing factory: " + evt.getException() );
}
示例5: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
@Override
public void namingExceptionThrown(NamingExceptionEvent nee) {
//do nothing
}
示例6: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
@Override
public void namingExceptionThrown(NamingExceptionEvent evt) {
SimpleCachedLDAPAuthorizationMap.this.namingExceptionThrown(evt);
}
示例7: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
/**
* invoked when an exception has occurred during a persistent search
*/
public void namingExceptionThrown(NamingExceptionEvent event) {
LOG.error("ERR: caught unexpected exception", event.getException());
}
示例8: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
@Override
public void namingExceptionThrown(NamingExceptionEvent evt) {
LegacyLDAPSecuritySettingPlugin.this.namingExceptionThrown(evt);
}
示例9: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
/**
* <p>Method not implemented yet.</p>
*/
public void namingExceptionThrown(NamingExceptionEvent arg0) {
// TODO Auto-generated method stub
}
示例10: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public void namingExceptionThrown(NamingExceptionEvent namingexceptionevent) {
log.log("namingExceptionThrown called, " + namingexceptionevent);
}
示例11: TestListener
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public TestListener(NamingExceptionEvent expectedEvent) {
this.expectedEvent = expectedEvent;
}
示例12: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public void namingExceptionThrown(
NamingExceptionEvent namingexceptionevent) {
assertSame(expectedEvent, namingexceptionevent);
}
示例13: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public void namingExceptionThrown(
NamingExceptionEvent namingexceptionevent) {
}
示例14: getExceptionEvent
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public NamingExceptionEvent getExceptionEvent() {
return ex;
}
示例15: namingExceptionThrown
import javax.naming.event.NamingExceptionEvent; //导入依赖的package包/类
public void namingExceptionThrown(
NamingExceptionEvent namingExceptionEvent) {
this.ex = namingExceptionEvent;
}