org.openorb.orb.core.dii
Class Context

java.lang.Object
  extended by org.omg.CORBA.Context
      extended by org.openorb.orb.core.dii.Context

public class Context
extends org.omg.CORBA.Context

This class implements the OMG Class : Context.

Version:
$Revision: 1.5 $ $Date: 2004/02/10 21:46:22 $
Author:
Jerome Daniel

Constructor Summary
Context(java.lang.String name, Context parent, org.omg.CORBA.ORB orb)
          Constructor
 
Method Summary
 java.lang.String context_name()
          Return context name
 org.omg.CORBA.Context create_child(java.lang.String child_ctx_name)
          Create a new child context
 void delete_values(java.lang.String propname)
          Delete context values
 org.omg.CORBA.NVList get_values(java.lang.String start_scope, int op_flags, java.lang.String pattern)
          Return a set of context values.
 org.omg.CORBA.Context parent()
          Return parent context
protected  int propertyIndex(java.lang.String name)
          Return a property
 void set_one_value(java.lang.String propname, org.omg.CORBA.Any propvalue)
          Set a context value
 void set_values(org.omg.CORBA.NVList values)
          Set a context values set
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Context

public Context(java.lang.String name,
               Context parent,
               org.omg.CORBA.ORB orb)
Constructor

Method Detail

context_name

public java.lang.String context_name()
Return context name

Specified by:
context_name in class org.omg.CORBA.Context

parent

public org.omg.CORBA.Context parent()
Return parent context

Specified by:
parent in class org.omg.CORBA.Context

create_child

public org.omg.CORBA.Context create_child(java.lang.String child_ctx_name)
Create a new child context

Specified by:
create_child in class org.omg.CORBA.Context

set_one_value

public void set_one_value(java.lang.String propname,
                          org.omg.CORBA.Any propvalue)
Set a context value

Specified by:
set_one_value in class org.omg.CORBA.Context

set_values

public void set_values(org.omg.CORBA.NVList values)
Set a context values set

Specified by:
set_values in class org.omg.CORBA.Context

delete_values

public void delete_values(java.lang.String propname)
Delete context values

Specified by:
delete_values in class org.omg.CORBA.Context

get_values

public org.omg.CORBA.NVList get_values(java.lang.String start_scope,
                                       int op_flags,
                                       java.lang.String pattern)
Return a set of context values.

Specified by:
get_values in class org.omg.CORBA.Context

propertyIndex

protected int propertyIndex(java.lang.String name)
Return a property