|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gxos.gndi.context.GxContext | +--org.gxos.RootContext
A root object for Garnet Collaboration System. This object contains top level services. These are Admin, Capabilities, Devices, Documents, Events, Multimedia, Users and mega meetings.
$Id: RootContext.java,v 1.8 2001/05/05 02:28:06 balsoy Exp $
Fields inherited from class org.gxos.gndi.context.GxContext |
SELF |
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 | |
RootContext(java.lang.String root,
javax.naming.Context initial)
RootContext constructor. |
Method Summary | |
void |
createDevice(java.lang.String deviceAddr,
DeviceTypeType type)
Adds a new device to repository. |
void |
createDevice(java.lang.String deviceAddr,
java.lang.String deviceType)
Adds a new device to repository. |
void |
createEvent()
Creates an empty event object under the current root, i.e. |
void |
createEvent(int seqno,
java.lang.String stream)
Creates an event object under the current root, i.e. |
void |
createMeeting(java.lang.String megaMeetingURL,
java.lang.String meetingName)
Creates a meeting under a megameeting, i.e. |
void |
createMegaMeeting(java.lang.String megaMeetingName)
Creates a megameeting under the current root, i.e. |
void |
createUser(java.lang.String name,
java.lang.String pre,
java.lang.String suf,
java.lang.String login,
java.lang.String password,
java.lang.String email)
Creates a user object with given parameters, sets other values to defaults, and adds it to the current context. |
javax.naming.Context |
getAdmin()
Returns context object for the top level Admin context. |
javax.naming.Context |
getCapabilities()
Returns context object for the top level Capabilities context. |
javax.naming.Context |
getDevices()
Returns context object for the top level Devices context. |
javax.naming.Context |
getDocuments()
Returns context object for the top level Documents context. |
javax.naming.Context |
getEvents()
Returns context object for the top level Events context. |
javax.naming.Context |
getMultimedia()
Returns context object for the top level Multimedia context. |
javax.naming.Context |
getUsers()
Returns context object for the top level Users context. |
Methods inherited from class org.gxos.gndi.context.GxContext |
addToEnvironment, bind, bind, close, composeName, composeName, createContext, createSubcontext, createSubcontext, createSubcontext, createSubcontext, createSubcontext, destroySubcontext, destroySubcontext, getEnvironment, getFSContext, getGxosName, getGxosObject, getNameInNamespace, getNameParser, getNameParser, getObject, getObject, getPrefix, getXMLFile, init, list, list, listBindings, listBindings, lookup, lookup, lookupLink, lookupLink, rebind, rebind, removeFromEnvironment, rename, rename, report, setGxosName, setGxosName, translateName, unbind, unbind |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RootContext(java.lang.String root, javax.naming.Context initial) throws javax.naming.NamingException
root
- Root name for context.initial
- Context returned by InitialContext function.javax.naming.NamingException
- Method Detail |
public javax.naming.Context getCapabilities()
public javax.naming.Context getAdmin()
public javax.naming.Context getDevices()
public javax.naming.Context getDocuments()
public javax.naming.Context getEvents()
public javax.naming.Context getMultimedia()
public javax.naming.Context getUsers()
public void createDevice(java.lang.String deviceAddr, java.lang.String deviceType) throws GxException
deviceAddr
- Device's IP name, i.e. foo.bar.com.deviceType
- Device type can be one of UNIX, Windows, Mac, or PDA.GxException
- Device
,
DeviceTypeType
public void createDevice(java.lang.String deviceAddr, DeviceTypeType type) throws GxException
deviceAddr
- Device's IP name, i.e. foo.bar.com.deviceType
- Device type can be one of UNIX, WINDOWS, MAC, or PDA.GxException
- Device
,
DeviceTypeType
public void createEvent() throws GxException
GxException
- Events
public void createEvent(int seqno, java.lang.String stream) throws GxException
seqno
- Sequence number of the eventstream
- Name of the stream this event belongs to.GxException
- Events
public void createMegaMeeting(java.lang.String megaMeetingName) throws GxException
megaMeetingName
- Name of the mega meeting, i.e. Course1GxException
- Meetings
,
Collection
public void createMeeting(java.lang.String megaMeetingURL, java.lang.String meetingName) throws GxException
megaMeetingURL
- GXOS name of the megameeting this meeting will be created under.meetingName
- Name of the meeting.GxException
- Meetings
,
Collection
public void createUser(java.lang.String name, java.lang.String pre, java.lang.String suf, java.lang.String login, java.lang.String password, java.lang.String email) throws GxException
name
- full name of this user, i.e. James J Smith, John Doepre
- name prefixes for the name if any, i.e. Prof.suf
- name suffixes the name if any, i.e. Jr.login
- login name of this userpassword
- password for this useremail
- email address of this userGxException
- User
,
UserObject
,
Users
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |