org.rhq.jndi.context
Class AccessCheckingEventContextDecorator

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

public class AccessCheckingEventContextDecorator
extends AccessCheckingContextDecorator
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
AccessCheckingEventContextDecorator(EventContext original, String... checkedSchemes)
           
AccessCheckingEventContextDecorator(String... checkedSchemes)
           
 
Method Summary
 void addNamingListener(Name target, int scope, NamingListener l)
           
 void addNamingListener(String target, int scope, NamingListener l)
           
protected  EventContext getOriginal()
           
 void removeNamingListener(NamingListener l)
           
 boolean targetMustExist()
           
 
Methods inherited from class org.rhq.jndi.context.AccessCheckingContextDecorator
addToEnvironment, bind, bind, check, check, check, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, equals, getEnvironment, getNameInNamespace, getNameParser, getNameParser, 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

AccessCheckingEventContextDecorator

public AccessCheckingEventContextDecorator(String... checkedSchemes)

AccessCheckingEventContextDecorator

public AccessCheckingEventContextDecorator(EventContext original,
                                           String... checkedSchemes)
Method Detail

getOriginal

protected EventContext getOriginal()
Overrides:
getOriginal in class AccessCheckingContextDecorator

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.