org.sapia.ubik.rmi.naming.remote.archie
Class UbikRemoteContext

java.lang.Object
  extended by org.sapia.archie.jndi.JndiContext
      extended by org.sapia.ubik.rmi.naming.remote.archie.UbikRemoteContext
All Implemented Interfaces:
java.rmi.Remote, javax.naming.Context, RemoteContext

public class UbikRemoteContext
extends org.sapia.archie.jndi.JndiContext
implements RemoteContext

Author:
Yanick Duchesne
Copyright:
Copyright © 2002-2003 Sapia Open Source Software. All Rights Reserved.
License:
Read the license.txt file of the jar or visit the license page at the Sapia OSS web site

Field Summary
 
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
protected UbikRemoteContext(DomainInfo domain, org.sapia.archie.Node root)
           
protected UbikRemoteContext(UbikSyncNode node)
           
 
Method Summary
 void bind(javax.naming.Name name, java.lang.Object obj)
           
 void bind(java.lang.String name, java.lang.Object obj)
           
 DomainInfo getDomainInfo()
           
protected  javax.naming.Context newChildContext(org.sapia.archie.Node node)
           
static UbikRemoteContext newInstance(EventChannel channel)
           
protected  javax.naming.NamingEnumeration newNamingEnum(java.util.Iterator entries, java.util.Iterator childNodes, int listType)
           
 
Methods inherited from class org.sapia.archie.jndi.JndiContext
addToEnvironment, close, composeName, composeName, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getNameFrom, getNameInNamespace, getNameParser, getNameParser, list, list, listBindings, listBindings, listObjects, listObjects, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, unbind, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.naming.Context
addToEnvironment, 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

UbikRemoteContext

protected UbikRemoteContext(DomainInfo domain,
                            org.sapia.archie.Node root)

UbikRemoteContext

protected UbikRemoteContext(UbikSyncNode node)
Method Detail

getDomainInfo

public DomainInfo getDomainInfo()
Specified by:
getDomainInfo in interface RemoteContext
See Also:
RemoteContext.getDomainInfo()

bind

public void bind(javax.naming.Name name,
                 java.lang.Object obj)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.Context
Overrides:
bind in class org.sapia.archie.jndi.JndiContext
Throws:
javax.naming.NamingException
See Also:
Context.bind(javax.naming.Name, java.lang.Object)

bind

public void bind(java.lang.String name,
                 java.lang.Object obj)
          throws javax.naming.NamingException
Specified by:
bind in interface javax.naming.Context
Overrides:
bind in class org.sapia.archie.jndi.JndiContext
Throws:
javax.naming.NamingException
See Also:
Context.bind(java.lang.String, java.lang.Object)

newChildContext

protected javax.naming.Context newChildContext(org.sapia.archie.Node node)
Overrides:
newChildContext in class org.sapia.archie.jndi.JndiContext

newNamingEnum

protected javax.naming.NamingEnumeration newNamingEnum(java.util.Iterator entries,
                                                       java.util.Iterator childNodes,
                                                       int listType)
Overrides:
newNamingEnum in class org.sapia.archie.jndi.JndiContext

newInstance

public static UbikRemoteContext newInstance(EventChannel channel)
                                     throws javax.naming.NamingException
Throws:
javax.naming.NamingException


Copyright © 2010 Sapia OSS. All Rights Reserved.