org.globus.ogsa.repository
Class ServiceNode
java.lang.Object
org.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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ServiceNode
public ServiceNode(java.lang.Object service)
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.