org.rhq.jndi.context
Class URLPreferringEventContextDecorator

java.lang.Object
  extended by org.rhq.jndi.context.URLPreferringContextDecorator
      extended by org.rhq.jndi.context.URLPreferringEventContextDecorator
All Implemented Interfaces:
Serializable, Context, EventContext, ContextDecorator

public class URLPreferringEventContextDecorator
extends URLPreferringContextDecorator
implements EventContext

Author:
Lukas Krejci
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface javax.naming.event.EventContext
OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE
 
Fields inherited from interface javax.naming.Context
APPLET, 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 Summary
URLPreferringEventContextDecorator()
           
URLPreferringEventContextDecorator(EventContext ctx)
           
 
Method Summary
 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()
           
 
Methods inherited from class org.rhq.jndi.context.URLPreferringContextDecorator
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, unbind
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.Context
addToEnvironment, 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, unbind
 

Constructor Detail

URLPreferringEventContextDecorator

public URLPreferringEventContextDecorator()

URLPreferringEventContextDecorator

public URLPreferringEventContextDecorator(EventContext ctx)
Method Detail

checkAndCast

protected EventContext checkAndCast(Context ctx)
                             throws NamingException
Throws:
NamingException

getOriginal

protected EventContext getOriginal()
                            throws NamingException
Overrides:
getOriginal in class URLPreferringContextDecorator
Throws:
NamingException

addNamingListener

public void addNamingListener(Name target,
                              int scope,
                              NamingListener l)
                       throws NamingException
Specified by:
addNamingListener in interface EventContext
Throws:
NamingException

addNamingListener

public void addNamingListener(String target,
                              int scope,
                              NamingListener l)
                       throws NamingException
Specified by:
addNamingListener in interface EventContext
Throws:
NamingException

removeNamingListener

public void removeNamingListener(NamingListener l)
                          throws NamingException
Specified by:
removeNamingListener in interface EventContext
Throws:
NamingException

targetMustExist

public boolean targetMustExist()
                        throws NamingException
Specified by:
targetMustExist in interface EventContext
Throws:
NamingException


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.