uk.ac.soton.itinnovation.grid.service.registry
Class LifeCycleManagement

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.service.registry.LifeCycleManagement

public class LifeCycleManagement
extends Object


Field Summary
protected static Hashtable<String,uk.ac.soton.itinnovation.grid.service.registry.LifeCycleThread> lifeCycleThreads
           
protected static org.apache.log4j.Logger logger
           
 
Constructor Summary
LifeCycleManagement()
           
 
Method Summary
static void finishLifeCycleThread(RegistryDataResourceRoleBean user)
          Finish a life cycle thread that is defined by a registry user.
static void finishLifeCycleThreads()
          Finish all life cycle threads.
static void registerOnLifeCycleThread(RegistryDataResourceRoleBean user, org.apache.axis.message.addressing.EndpointReferenceType resource)
          Register a resource with a life cycle thread that is defined by a registry (database) user.
static void unregisterOnLifeCycleThread(RegistryDataResourceRoleBean user, org.apache.axis.message.addressing.EndpointReferenceType resource)
          Unregister a resource from a life cycle thread, for instance if the resource is deleted.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lifeCycleThreads

protected static Hashtable<String,uk.ac.soton.itinnovation.grid.service.registry.LifeCycleThread> lifeCycleThreads

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

LifeCycleManagement

public LifeCycleManagement()
Method Detail

finishLifeCycleThreads

public static void finishLifeCycleThreads()
Finish all life cycle threads.


registerOnLifeCycleThread

public static void registerOnLifeCycleThread(RegistryDataResourceRoleBean user,
                                             org.apache.axis.message.addressing.EndpointReferenceType resource)
Register a resource with a life cycle thread that is defined by a registry (database) user.

Parameters:
user -
resource -

unregisterOnLifeCycleThread

public static void unregisterOnLifeCycleThread(RegistryDataResourceRoleBean user,
                                               org.apache.axis.message.addressing.EndpointReferenceType resource)
Unregister a resource from a life cycle thread, for instance if the resource is deleted.

Parameters:
user -
resource -

finishLifeCycleThread

public static void finishLifeCycleThread(RegistryDataResourceRoleBean user)
Finish a life cycle thread that is defined by a registry user.

Parameters:
user -


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.