API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.naming.event. EventContext View Source
Author(s)
Rosanna Lee
Scott Seligman
Since
1.3
Version
1.11 03/12/19
Serial
Hierarchy
 Context
      EventContext
Subinterfaces
Description
public interface EventContext
  Contains methods for registering/deregistering listeners to be notified of events fired when objects named in a context changes.
See also:   
Methods
Hide/Show inherited methods
public void addNamingListener (Name target, int scope, NamingListener l) throws NamingException
  Adds a listener for receiving naming events fired when the object(s) identified by a target and scope changes.
public void addNamingListener (String target, int scope, NamingListener l) throws NamingException
  Adds a listener for receiving naming events fired when the object named by the string target name and scope changes.
public void removeNamingListener (NamingListener l) throws NamingException
  Removes a listener from receiving naming events fired by this EventContext.
public boolean targetMustExist () throws NamingException
  Determines whether a listener can register interest in a target that does not exist.
Fields
Hide/Show inherited fields
publicfinalstatic String APPLET = "java.naming.applet" [Inherited From Context]
  Constant that holds the name of the environment property for specifying an applet for the initial context constructor to use when searching for other properties.
publicfinalstatic String AUTHORITATIVE = "java.naming.authoritative" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the authoritativeness of the service requested.
publicfinalstatic String BATCHSIZE = "java.naming.batchsize" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the batch size to use when returning data via the service's protocol.
publicfinalstatic String DNS_URL = "java.naming.dns.url" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the DNS host and domain names to use for the JNDI URL context (for example, "dns://somehost/wiz.com").
publicfinalstatic String INITIAL_CONTEXT_FACTORY = "java.naming.factory.initial" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the initial context factory to use.
publicfinalstatic String LANGUAGE = "java.naming.language" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the preferred language to use with the service.
publicfinalstatic String OBJECT_FACTORIES = "java.naming.factory.object" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the list of object factories to use.
publicfinalstatic int OBJECT_SCOPE = "0"
  Constant for expressing interest in events concerning the object named by the target.
publicfinalstatic int ONELEVEL_SCOPE = "1"
  Constant for expressing interest in events concerning objects in the context named by the target, excluding the context named by the target.
publicfinalstatic String PROVIDER_URL = "java.naming.provider.url" [Inherited From Context]
  Constant that holds the name of the environment property for specifying configuration information for the service provider to use.
publicfinalstatic String REFERRAL = "java.naming.referral" [Inherited From Context]
  Constant that holds the name of the environment property for specifying how referrals encountered by the service provider are to be processed.
publicfinalstatic String SECURITY_AUTHENTICATION = "java.naming.security.authentication" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the security level to use.
publicfinalstatic String SECURITY_CREDENTIALS = "java.naming.security.credentials" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the credentials of the principal for authenticating the caller to the service.
publicfinalstatic String SECURITY_PRINCIPAL = "java.naming.security.principal" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the identity of the principal for authenticating the caller to the service.
publicfinalstatic String SECURITY_PROTOCOL = "java.naming.security.protocol" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the security protocol to use.
publicfinalstatic String STATE_FACTORIES = "java.naming.factory.state" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the list of state factories to use.
publicfinalstatic int SUBTREE_SCOPE = "2"
  Constant for expressing interest in events concerning objects in the subtree of the object named by the target, including the object named by the target.
publicfinalstatic String URL_PKG_PREFIXES = "java.naming.factory.url.pkgs" [Inherited From Context]
  Constant that holds the name of the environment property for specifying the list of package prefixes to use when loading in URL context factories.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar