Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

SOAPBridge::ObjectContextManager Interface Reference

This interface is used by the SOAP bridge to avoid exposing object references to the outside world. More...

#include <ObjCtxMan.idl>

Inheritance diagram for SOAPBridge::ObjectContextManager:

SOAPBridge::ContextManager List of all members.

Public Types

typedef sequence<SOAPContext> SOAPContextSeq
 Sequence of SOAPContext structures. More...

typedef sequence<StoredIORStoredIORSeq
 Sequence of StoredIOR structures. More...


Public Methods

string storeObjectReference (in string contextKey, in Object objectReference) raises ( ContextKeyNotFound )
 Store a new object (instance) reference. More...

Object resolveStoredObjectReference (in string storedObjectReference) raises ( ContextKeyNotFound, ObjectReferenceNotFound )
 Retrieve object (instance) reference. More...

void freeStoredObjectReference (in string storedObjectReference) raises ( ContextKeyNotFound, ObjectReferenceNotFound )
 Explicitely remove an object reference from the context. More...

SOAPContextSeq listCurrentContexts ()
 Administrative function. More...

StoredIORSeq listStoredIORs (in string contextKey) raises ( ContextKeyNotFound )
 Administrative function. More...


Detailed Description

This interface is used by the SOAP bridge to avoid exposing object references to the outside world.

Note that this interface should NOT be published through the SOAP bridge!

See also:
SOAPBridge_ObjectContextManager_i

Definition at line 32 of file ObjCtxMan.idl.


Member Typedef Documentation

typedef sequence< SOAPContext > SOAPBridge::ObjectContextManager::SOAPContextSeq
 

Sequence of SOAPContext structures.

Definition at line 77 of file ObjCtxMan.idl.

typedef sequence< StoredIOR > SOAPBridge::ObjectContextManager::StoredIORSeq
 

Sequence of StoredIOR structures.

Definition at line 97 of file ObjCtxMan.idl.


Member Function Documentation

void SOAPBridge::ObjectContextManager::freeStoredObjectReference ( in string storedObjectReference ) raises ( ContextKeyNotFound, ObjectReferenceNotFound )
 

Explicitely remove an object reference from the context.

Parameters:
storedObjectReference   The storedObjectReference obtained from storeObjectReference
Exceptions:
ContextKeyNotFound  
ObjectReferenceNotFound  

SOAPContextSeq SOAPBridge::ObjectContextManager::listCurrentContexts ( )
 

Administrative function.

Lists all allocated contexts.

Returns:
The list of allocated contexts.

StoredIORSeq SOAPBridge::ObjectContextManager::listStoredIORs ( in string contextKey ) raises ( ContextKeyNotFound )
 

Administrative function.

Lists the stringified IOR's for a given contextKey.

Returns:
The list of stored IORs for the contextKey.
Exceptions:
ContextKeyNotFound  

Object SOAPBridge::ObjectContextManager::resolveStoredObjectReference ( in string storedObjectReference ) raises ( ContextKeyNotFound, ObjectReferenceNotFound )
 

Retrieve object (instance) reference.

Parameters:
storedObjectReference   The storedObjectReference obtained from storeObjectReference
Returns:
The object reference as returned by CORBA.
Exceptions:
ContextKeyNotFound  
ObjectReferenceNotFound  

string SOAPBridge::ObjectContextManager::storeObjectReference ( in string contextKey,
in Object objectReference ) raises ( ContextKeyNotFound )
 

Store a new object (instance) reference.

Parameters:
contextKey   The contextKey obtained from allocateContext
objectReference   The object reference as returned by CORBA.
Exceptions:
ContextKeyNotFound  


The documentation for this interface was generated from the following file:
This documentation is part of the "SOAP to CORBA bridge" project
Copyright © 2000 by Lifeline Networks bv.
All rights are reserved.