net.larsan.urd.jndi
Class RootContext

java.lang.Object
  |
  +--net.larsan.urd.jndi.ContextBase
        |
        +--net.larsan.urd.jndi.ContextImpl
              |
              +--net.larsan.urd.jndi.RootContext
All Implemented Interfaces:
java.lang.Cloneable, javax.naming.Context, javax.naming.event.EventContext

public class RootContext
extends ContextImpl

This class encapsulates the root context for the Urd framework. It takes its startup environment from the system properties 'net.larsan.norna.base.Environment.rootPort' and 'net.larsan.norna.base.Environment.rootPort' respectively.

Version:
Alpha-0.1 / 2002-10-06 21:37
Author:
Lars J. Nilsson

Field Summary
static RootContext CONTEXT
           
 
Fields inherited from class net.larsan.urd.jndi.ContextBase
ACCESS_PERMISSION, env, handler, localName, nameParser, parent, port, root, ROOT_ADDRESS, ROOT_PORT
 
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
 
Method Summary
 void clear()
           
 void close()
          Deregister event handler
 
Methods inherited from class net.larsan.urd.jndi.ContextImpl
bind, clone, composeName, createSubcontext, destroySubcontext, getNameParser, hashCode, list, listBindings, lookup, lookupLink, rebind, rename, toString, unbind
 
Methods inherited from class net.larsan.urd.jndi.ContextBase
addNamingListener, addNamingListener, addToEnvironment, bind, checkAccess, composeName, createSubcontext, destroySubcontext, findRootContext, getEnvironment, getEventHandler, getNameInNamespace, getNameParser, getParent, list, listBindings, lookup, lookupLink, objectAdded, objectRemoved, objectRenamed, rebind, removeFromEnvironment, removeNamingListener, rename, setHandler, targetMustExist, unbind
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CONTEXT

public static final RootContext CONTEXT
Method Detail

close

public void close()
Description copied from class: ContextBase
Deregister event handler

Specified by:
close in interface javax.naming.Context
Overrides:
close in class ContextImpl

clear

public void clear()
           throws javax.naming.NamingException
javax.naming.NamingException