public class URLPreferringEventContextDecorator extends URLPreferringContextDecorator implements EventContext
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPEAPPLET, AUTHORITATIVE, BATCHSIZE, DNS_URL, INITIAL_CONTEXT_FACTORY, LANGUAGE, OBJECT_FACTORIES, PROVIDER_URL, REFERRAL, SECURITY_AUTHENTICATION, SECURITY_CREDENTIALS, SECURITY_PRINCIPAL, SECURITY_PROTOCOL, STATE_FACTORIES, URL_PKG_PREFIXES| Constructor and Description |
|---|
URLPreferringEventContextDecorator() |
URLPreferringEventContextDecorator(EventContext ctx) |
| Modifier and Type | Method and Description |
|---|---|
void |
addNamingListener(Name target,
int scope,
NamingListener l) |
void |
addNamingListener(String target,
int scope,
NamingListener l) |
protected EventContext |
checkAndCast(Context ctx) |
protected EventContext |
getOriginal() |
void |
removeNamingListener(NamingListener l) |
boolean |
targetMustExist() |
addToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, equals, getEnvironment, getNameInNamespace, getNameParser, getNameParser, getURLOrDefaultInitCtx, getURLOrDefaultInitCtx, hashCode, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitaddToEnvironment, bind, bind, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbindpublic URLPreferringEventContextDecorator()
public URLPreferringEventContextDecorator(EventContext ctx)
protected EventContext checkAndCast(Context ctx) throws NamingException
NamingExceptionprotected EventContext getOriginal() throws NamingException
getOriginal in class URLPreferringContextDecoratorNamingExceptionpublic void addNamingListener(Name target, int scope, NamingListener l) throws NamingException
addNamingListener in interface EventContextNamingExceptionpublic void addNamingListener(String target, int scope, NamingListener l) throws NamingException
addNamingListener in interface EventContextNamingExceptionpublic void removeNamingListener(NamingListener l) throws NamingException
removeNamingListener in interface EventContextNamingExceptionpublic boolean targetMustExist()
throws NamingException
targetMustExist in interface EventContextNamingExceptionCopyright © 2008-2014 Red Hat, Inc.. All Rights Reserved.