com.objectspace.voyager.directory
Class LightDirectory
com.objectspace.voyager.directory.LightDirectory
- public class LightDirectory
- implements IDirectory, java.io.Serializable
LightDirectory is an implementation of IDirectory created specifically for
the light clients. LightDirectory contains the bootstrap logic allowing the light
client to connect to a directory.
- Version:
- 3.0
- See Also:
- Serialized Form
Constructor Summary |
LightDirectory(java.lang.String url)
Constructs an instance of LightDirectory |
LightDirectory
public LightDirectory(java.lang.String url)
- Constructs an instance of LightDirectory
- Parameters:
url
- contains the URL to the server hosting the directory. The url should be in the
followin format: //host:port/root, where host and port elements are mandatory. The root element
is optional and may contain a directory name to be set as the root. If set, the root is used for
all subsequent calls.
add
public void add(java.lang.String arg1,
java.lang.Object arg2)
throws DirectoryException
- Specified by:
- add in interface IDirectory
clear
public void clear()
- Specified by:
- clear in interface IDirectory
createSubdirectory
public IDirectory createSubdirectory(java.lang.String arg1)
throws DirectoryException
- Specified by:
- createSubdirectory in interface IDirectory
get
public java.lang.Object get(java.lang.String arg1)
throws DirectoryException
- Specified by:
- get in interface IDirectory
getAllEntries
public Entry[] getAllEntries(java.lang.String arg1)
throws DirectoryException
- Specified by:
- getAllEntries in interface IDirectory
getDirectoryEntries
public Entry[] getDirectoryEntries(java.lang.String arg1)
throws DirectoryException
- Specified by:
- getDirectoryEntries in interface IDirectory
getKeys
public java.lang.Object[] getKeys()
- Specified by:
- getKeys in interface IDirectory
getObjectEntries
public Entry[] getObjectEntries(java.lang.String arg1)
throws DirectoryException
- Specified by:
- getObjectEntries in interface IDirectory
getValues
public java.lang.Object[] getValues()
- Specified by:
- getValues in interface IDirectory
put
public java.lang.Object put(java.lang.String arg1,
java.lang.Object arg2)
throws DirectoryException
- Specified by:
- put in interface IDirectory
remove
public java.lang.Object remove(java.lang.String arg1)
throws DirectoryException
- Specified by:
- remove in interface IDirectory
size
public int size()
- Specified by:
- size in interface IDirectory
(c) Copyright 1997-1999 ObjectSpace, Inc.
14850 Quorum Drive, Suite 500
Dallas, Texas 75240