org.globus.ogsa.repository
Class ServiceNode

java.lang.Object
  extended byorg.globus.ogsa.repository.ServiceNode

public class ServiceNode
extends java.lang.Object

This class implements a hierarchical repository of services. It is used to look up, and publish service instances in a container


Constructor Summary
ServiceNode(java.lang.Object service)
           
 
Method Summary
 java.lang.Object activate(java.lang.String servicePath)
           
 java.lang.Object activate(java.lang.String servicePath, org.apache.axis.MessageContext context)
           
protected  java.lang.Object activateSub(java.lang.String fullPath, org.apache.axis.MessageContext context)
           
 void addListener(ServiceListener listener)
           
 ServiceNode bind(java.lang.String servicePath, java.lang.Object obj)
           
 void deactivate(java.lang.String servicePath)
           
 void deactivateAll()
           
protected  void deactivateSub()
           
 ServiceActivator getActivator()
           
 java.util.Vector getAllServices()
           
 ServiceLoader getLoader()
           
 ServiceNode getNode(java.lang.String servicePath)
           
static ServiceNode getRootNode()
           
 java.lang.Object getService()
           
 void removeListener(ServiceListener listener)
           
 java.lang.Object resolve(java.lang.String servicePath)
           
 java.lang.Object resolve(java.lang.String servicePath, ServiceActivatorHolder activatorHolder)
           
 void setActivator(ServiceActivator activator)
           
 void setLoader(ServiceLoader loader)
           
protected  void setService(java.lang.Object s)
           
 java.lang.String toString()
           
 ServiceNode unbind(java.lang.String servicePath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceNode

public ServiceNode(java.lang.Object service)
Method Detail

addListener

public void addListener(ServiceListener listener)

removeListener

public void removeListener(ServiceListener listener)

setActivator

public void setActivator(ServiceActivator activator)

getActivator

public ServiceActivator getActivator()

setLoader

public void setLoader(ServiceLoader loader)

getLoader

public ServiceLoader getLoader()

getRootNode

public static ServiceNode getRootNode()

getService

public java.lang.Object getService()

setService

protected void setService(java.lang.Object s)

deactivate

public void deactivate(java.lang.String servicePath)
                throws GridServiceException
Throws:
GridServiceException

deactivateSub

protected void deactivateSub()
                      throws GridServiceException
Throws:
GridServiceException

deactivateAll

public void deactivateAll()

activate

public java.lang.Object activate(java.lang.String servicePath)
                          throws ServiceActivationException
Throws:
ServiceActivationException

activate

public java.lang.Object activate(java.lang.String servicePath,
                                 org.apache.axis.MessageContext context)
                          throws ServiceActivationException
Throws:
ServiceActivationException

activateSub

protected java.lang.Object activateSub(java.lang.String fullPath,
                                       org.apache.axis.MessageContext context)
                                throws ServiceActivationException
Throws:
ServiceActivationException

resolve

public java.lang.Object resolve(java.lang.String servicePath)

resolve

public java.lang.Object resolve(java.lang.String servicePath,
                                ServiceActivatorHolder activatorHolder)

getNode

public ServiceNode getNode(java.lang.String servicePath)

bind

public ServiceNode bind(java.lang.String servicePath,
                        java.lang.Object obj)

unbind

public ServiceNode unbind(java.lang.String servicePath)

getAllServices

public java.util.Vector getAllServices()

toString

public java.lang.String toString()


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.