All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class oracle.aurora.jndi.sess_iiop.SessionCtx

java.lang.Object
   |
   +----oracle.aurora.jndi.sess_iiop.SessionCtx

public class SessionCtx
extends Object
The SessionCtx class represents the contexts in the session namespace. Each context is stored persistently in the database, and as such survives between sessions. Instances of these contexts front for the actual persistent data. Objects bound in a session context may be either instancs of session contexts, or of PublishedObject. PublishedObjects are objects that contain the information necessary to activate the object in a session. Once activated, repeated activations return the same instance of the activated object in a session. When a lookup of a name occurs in a SessionCtx, the PublishedObject is returned. To activate the object which the PublishedObject refers to, a method activate(name) is supplied. This method correctly narrows the returned object to the type supplied by the helper class name of the PublishedObject.

Author:
Hal Hildebrand.

Variable Index

 o InitialReferencesFinderClass
 o SslInitialReferencesFinderClass

Method Index

 o _lookup(Name)
Lookup, but do not activate, the object associated with the string name.
 o _lookup(String)
Lookup, but do not activate, the object associated with the string name.
 o activate(Name)
Lookup and activate object associated with the string name.
 o activate(String)
Lookup and activate object associated with the string name.
 o addToEnvironment(String, Object)
Add the key/value pair to the receiver's environment
 o bind(Name, Object)
Bind the object to the name in the reciever.
 o bind(Name, Object, Attributes)
Unsupported in 8.1.5
 o bind(String, Object)
Bind the object to the name in the reciever.
 o bind(String, Object, Attributes)
unsupported in 8.1.5
 o close()
noop
 o composeName(Name, Name)
Compose two names.
 o composeName(String, String)
Compose two names.
 o createObject(Name, String, String)
Create a new PublishedObject in the receiver's context, binding it to the name given.
 o createObject(Name, String, String, String)
Create a new PublishedObject in the receiver's context, binding it to the name given.
 o createObject(String, String, String)
Create a new PublishedObject in the receiver's context, binding it to the name given.
 o createObject(String, String, String, String)
Create a new PublishedObject in the receiver's context, binding it to the name given.
 o createSubcontext(Name)
Create a new context and bind it to the supplied name
 o createSubcontext(Name, Attributes)
Unsupported in 8.1.5
 o createSubcontext(String)
Create a new context and bind it to the supplied name
 o createSubcontext(String, Attributes)
Unsupported in 8.1.5
 o destroySubcontext(Name)
Deletes the sub context associated with the name
 o destroySubcontext(String)
Deletes the sub context associated with the name
 o get_attributes()
Answer the ctxAttributes of the receiver.
 o getAttributes()
Unsupported in 8.1.5
 o getAttributes(Name)
Unsupported in 8.1.5
 o getAttributes(Name, String[])
Unsupported in 8.1.5
 o getAttributes(String)
Unsupported in 8.1.5
 o getAttributes(String, String[])
Unsupported in 8.1.5
 o getEnvironment()
Answer the receiver's environment.
 o getNameParser(Name)
Answer the parser for the receiver
 o getNameParser(String)
Answer the parser for the receiver
 o getSchema(Name)
Unsupported in 8.1.5
 o getSchema(String)
Unsupported in 8.1.5
 o getSchemaClassDefinition(Name)
Unsupported in 8.1.5
 o getSchemaClassDefinition(String)
Unsupported in 8.1.5
 o list(Name)
List the bindings associated with the context bound to a name.
 o list(String)
List the bindings associated with the context bound to a name.
 o listBindings(Name)
List the bindings associated with the context bound to a name.
 o listBindings(String)
List the bindings associated with the context bound to a name.
 o login()
Login to the session using the properties set in the receiver's environment.
 o login(String, String, String)
Login to the session using the supplied arguments.
 o lookup(Name)
Lookup the Object bound to a name.
 o lookup(String)
Lookup the Object bound to a name.
 o lookupLink(Name)
Lookup the Object bound to a name.
 o lookupLink(String)
Lookup the Object bound to a name.
 o modifyAttributes(Name, int, Attributes)
Unsupported in 8.1.5
 o modifyAttributes(Name, ModificationItem[])
Unsupported in 8.1.5
 o modifyAttributes(String, int, Attributes)
Unsupported in 8.1.5
 o modifyAttributes(String, ModificationItem[])
Unsupported in 8.1.5
 o rebind(Name, Object)
Rebind the name to the Object.
 o rebind(Name, Object, Attributes)
Unsupported in 8.1.5
 o rebind(String, Object)
Rebind the name to the Object.
 o rebind(String, Object, Attributes)
Unsupported in 8.1.5
 o removeFromEnvironment(String)
Remove the key and associated value from the receiver's environment.
 o rename(Name, Name)
Rename the object bound to the from name to the to name.
 o rename(String, String)
Rename the object bound to the from name to the to name.
 o search(Name, Attributes)
Unsupported in 8.1.5
 o search(Name, Attributes, String[])
Unsupported in 8.1.5
 o search(Name, String, Object[], SearchControls)
Unsupported in 8.1.5
 o search(Name, String, SearchControls)
Unsupported in 8.1.5
 o search(String, Attributes)
Unsupported in 8.1.5
 o search(String, Attributes, String[])
Unsupported in 8.1.5
 o search(String, String, Object[], SearchControls)
Unsupported in 8.1.5
 o search(String, String, SearchControls)
Unsupported in 8.1.5
 o sessionId()
Answer the numeric session id of the session in which the context exists
 o set_attributes(String, String[], String[], String[])
Set the owner, read, write, and execute privileges of the receiver.
 o set_owner(String)
Set the owner of the context
 o unbind(Name)
Unbind the Object associated with the name
 o unbind(String)
Unbind the Object associated with the name

Variables

 o InitialReferencesFinderClass
 public static String InitialReferencesFinderClass
 o SslInitialReferencesFinderClass
 public static String SslInitialReferencesFinderClass

Methods

 o _lookup
 public Object _lookup(String name) throws NamingException
Lookup, but do not activate, the object associated with the string name. This method will return the instance of the PublishedObject, rather than the object that is published.

 o _lookup
 public synchronized Object _lookup(Name name) throws NamingException
Lookup, but do not activate, the object associated with the string name. This method will return the instance of the PublishedObject, rather than the object that is published.

 o activate
 public Object activate(String name) throws NamingException
Lookup and activate object associated with the string name. This method returns the activated object for a PublishedObject stored in the session namespace.

 o activate
 public synchronized Object activate(Name name) throws NamingException
Lookup and activate object associated with the string name. This method returns the activated object for a PublishedObject stored in the session namespace.

 o addToEnvironment
 public Object addToEnvironment(String key,
                                Object value) throws NamingException
Add the key/value pair to the receiver's environment

 o bind
 public void bind(String name,
                  Object object) throws NamingException
Bind the object to the name in the reciever.

 o bind
 public void bind(String arg1,
                  Object arg2,
                  Attributes arg3) throws NamingException
unsupported in 8.1.5

 o bind
 public void bind(Name name,
                  Object object) throws NamingException
Bind the object to the name in the reciever.

 o bind
 public void bind(Name arg1,
                  Object arg2,
                  Attributes arg3) throws NamingException
Unsupported in 8.1.5

 o close
 public void close() throws NamingException
noop

 o composeName
 public String composeName(String arg1,
                           String arg2) throws NamingException
Compose two names.

 o composeName
 public Name composeName(Name arg1,
                         Name arg2) throws NamingException
Compose two names.

 o createObject
 public PublishedObject createObject(String name,
                                     String className,
                                     String helper) throws NamingException
Create a new PublishedObject in the receiver's context, binding it to the name given.

 o createObject
 public PublishedObject createObject(String name,
                                     String className,
                                     String schema,
                                     String helper) throws NamingException
Create a new PublishedObject in the receiver's context, binding it to the name given.

 o createObject
 public PublishedObject createObject(Name name,
                                     String className,
                                     String helper) throws NamingException
Create a new PublishedObject in the receiver's context, binding it to the name given.

 o createObject
 public PublishedObject createObject(Name name,
                                     String className,
                                     String schema,
                                     String helper) throws NamingException
Create a new PublishedObject in the receiver's context, binding it to the name given.

 o createSubcontext
 public Context createSubcontext(String name) throws NamingException
Create a new context and bind it to the supplied name

 o createSubcontext
 public DirContext createSubcontext(String arg1,
                                    Attributes arg2) throws NamingException
Unsupported in 8.1.5

 o createSubcontext
 public Context createSubcontext(Name name) throws NamingException
Create a new context and bind it to the supplied name

 o createSubcontext
 public DirContext createSubcontext(Name arg1,
                                    Attributes arg2) throws NamingException
Unsupported in 8.1.5

 o destroySubcontext
 public void destroySubcontext(String name) throws NamingException
Deletes the sub context associated with the name

 o destroySubcontext
 public void destroySubcontext(Name name) throws NamingException
Deletes the sub context associated with the name

 o get_attributes
 public ctxAttribs get_attributes()
Answer the ctxAttributes of the receiver.

 o getAttributes
 public ctxAttribs getAttributes()
Unsupported in 8.1.5

 o getAttributes
 public Attributes getAttributes(String arg1) throws NamingException
Unsupported in 8.1.5

 o getAttributes
 public Attributes getAttributes(String arg1,
                                 String arg2[]) throws NamingException
Unsupported in 8.1.5

 o getAttributes
 public Attributes getAttributes(Name arg1) throws NamingException
Unsupported in 8.1.5

 o getAttributes
 public Attributes getAttributes(Name arg1,
                                 String arg2[]) throws NamingException
Unsupported in 8.1.5

 o getEnvironment
 public Hashtable getEnvironment() throws NamingException
Answer the receiver's environment.

 o getNameParser
 public NameParser getNameParser(String arg1) throws NamingException
Answer the parser for the receiver

 o getNameParser
 public NameParser getNameParser(Name arg1) throws NamingException
Answer the parser for the receiver

 o getSchema
 public DirContext getSchema(String arg1) throws NamingException
Unsupported in 8.1.5

 o getSchema
 public DirContext getSchema(Name arg1) throws NamingException
Unsupported in 8.1.5

 o getSchemaClassDefinition
 public DirContext getSchemaClassDefinition(String arg1) throws NamingException
Unsupported in 8.1.5

 o getSchemaClassDefinition
 public DirContext getSchemaClassDefinition(Name arg1) throws NamingException
Unsupported in 8.1.5

 o list
 public NamingEnumeration list(String name) throws NamingException
List the bindings associated with the context bound to a name. This operation does not activate any published objects in that context.

 o list
 public synchronized NamingEnumeration list(Name name) throws NamingException
List the bindings associated with the context bound to a name. This operation does not activate any published objects in that context.

 o listBindings
 public NamingEnumeration listBindings(String name) throws NamingException
List the bindings associated with the context bound to a name. This operation does not activate any published objects in that context.

 o listBindings
 public NamingEnumeration listBindings(Name name) throws NamingException
List the bindings associated with the context bound to a name. This operation does not activate any published objects in that context.

 o login
 public synchronized boolean login() throws NamingException
Login to the session using the properties set in the receiver's environment.

 o login
 public synchronized boolean login(String username,
                                   String password,
                                   String role) throws NamingException
Login to the session using the supplied arguments. Answer true if the login was successful, fals otherwise.

 o lookup
 public Object lookup(String name) throws NamingException
Lookup the Object bound to a name. If the name resolves to a PublishedObject, this method will not activate the PublishedObject. If activation is desired, use the method activate() instead.

 o lookup
 public Object lookup(Name name) throws NamingException
Lookup the Object bound to a name. If the name resolves to a PublishedObject, this method will not activate the PublishedObject. If activation is desired, use the method activate() instead.

 o lookupLink
 public Object lookupLink(String name) throws NamingException
Lookup the Object bound to a name. If the name resolves to a PublishedObject, this method will not activate the PublishedObject. If activation is desired, use the method activate() instead.

 o lookupLink
 public Object lookupLink(Name name) throws NamingException
Lookup the Object bound to a name. If the name resolves to a PublishedObject, this method will not activate the PublishedObject. If activation is desired, use the method activate() instead.

 o modifyAttributes
 public void modifyAttributes(String arg1,
                              ModificationItem arg2[]) throws NamingException
Unsupported in 8.1.5

 o modifyAttributes
 public void modifyAttributes(String arg1,
                              int arg2,
                              Attributes arg3) throws NamingException
Unsupported in 8.1.5

 o modifyAttributes
 public void modifyAttributes(Name arg1,
                              ModificationItem arg2[]) throws NamingException
Unsupported in 8.1.5

 o modifyAttributes
 public void modifyAttributes(Name arg1,
                              int arg2,
                              Attributes arg3) throws NamingException
Unsupported in 8.1.5

 o rebind
 public void rebind(String name,
                    Object obj) throws NamingException
Rebind the name to the Object.

 o rebind
 public void rebind(String arg1,
                    Object arg2,
                    Attributes arg3) throws NamingException
Unsupported in 8.1.5

 o rebind
 public void rebind(Name name,
                    Object obj) throws NamingException
Rebind the name to the Object.

 o rebind
 public void rebind(Name arg1,
                    Object arg2,
                    Attributes arg3) throws NamingException
Unsupported in 8.1.5

 o removeFromEnvironment
 public Object removeFromEnvironment(String key) throws NamingException
Remove the key and associated value from the receiver's environment.

 o rename
 public void rename(String from,
                    String to) throws NamingException
Rename the object bound to the from name to the to name.

 o rename
 public synchronized void rename(Name from,
                                 Name to) throws NamingException
Rename the object bound to the from name to the to name.

 o search
 public NamingEnumeration search(String arg1,
                                 String arg2,
                                 Object arg3[],
                                 SearchControls arg4) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(String arg1,
                                 String arg2,
                                 SearchControls arg3) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(String arg1,
                                 Attributes arg2) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(String arg1,
                                 Attributes arg2,
                                 String arg3[]) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(Name arg1,
                                 String arg2,
                                 Object arg3[],
                                 SearchControls arg4) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(Name arg1,
                                 String arg2,
                                 SearchControls arg3) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(Name arg1,
                                 Attributes arg2) throws NamingException
Unsupported in 8.1.5

 o search
 public NamingEnumeration search(Name arg1,
                                 Attributes arg2,
                                 String arg3[]) throws NamingException
Unsupported in 8.1.5

 o sessionId
 public int sessionId() throws NamingException
Answer the numeric session id of the session in which the context exists

 o set_attributes
 public void set_attributes(String owner,
                            String read[],
                            String write[],
                            String execute[])
Set the owner, read, write, and execute privileges of the receiver. The owner, and privileges are schema names in the database.

 o set_owner
 public synchronized void set_owner(String owner)
Set the owner of the context

 o unbind
 public void unbind(String name) throws NamingException
Unbind the Object associated with the name

 o unbind
 public void unbind(Name name) throws NamingException
Unbind the Object associated with the name


All Packages  Class Hierarchy  This Package  Previous  Next  Index