electric.soap.registry
Class CrossApplicationRegistry

java.lang.Object
  extended byelectric.soap.registry.CrossApplicationRegistry
All Implemented Interfaces:
IRegistry

public class CrossApplicationRegistry
extends java.lang.Object
implements IRegistry

CrossApplicationRegistry

Author:
webMethods

Constructor Summary
CrossApplicationRegistry()
           
 
Method Summary
 IReference bind(java.lang.String path, java.lang.Class[] interfaces, Context context)
          Return a reference to the service described by the path.
 boolean publish(java.lang.String path, java.lang.Object object, Context context)
          Publish the object to the specified path.
 boolean unpublish(java.lang.String path)
          Unpublish the object from the specified path.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CrossApplicationRegistry

public CrossApplicationRegistry()
Method Detail

bind

public IReference bind(java.lang.String path,
                       java.lang.Class[] interfaces,
                       Context context)
                throws RegistryException
Description copied from interface: IRegistry
Return a reference to the service described by the path. If this registry cannot process paths of the specified form, immediately return null.

Specified by:
bind in interface IRegistry
Parameters:
path -
interfaces -
context -
Returns:
A reference to the service.
Throws:
RegistryException

publish

public boolean publish(java.lang.String path,
                       java.lang.Object object,
                       Context context)
                throws RegistryException
Description copied from interface: IRegistry
Publish the object to the specified path. If this registry cannot process paths of the specified form, immediately return false.

Specified by:
publish in interface IRegistry
Parameters:
path -
object -
context -
Returns:
True if the object was published.
Throws:
RegistryException

unpublish

public boolean unpublish(java.lang.String path)
                  throws RegistryException
Description copied from interface: IRegistry
Unpublish the object from the specified path. If this registry cannot process paths of the specified form, immediately return false.

Specified by:
unpublish in interface IRegistry
Parameters:
path -
Returns:
True if the object was unpublished.
Throws:
RegistryException


copyright© 2001-2004 by webMethods All Rights Reserved.