FileDocCategorySizeDatePackage
RecoveryResourceRegistry.javaAPI DocGlassfish v2 API2777Fri May 04 22:35:14 BST 2007com.sun.enterprise.resource

RecoveryResourceRegistry

public class RecoveryResourceRegistry extends Object
This is a registry class that keep the recoveryresource listeners. A lifecycle module will be able to use this singleton to register its recoveryresourcelisteners.
author
Binod PG
since
9.1

Fields Summary
private static RecoveryResourceRegistry
rrr
private Set
listeners
Constructors Summary
private RecoveryResourceRegistry()

    
      
        listeners = new HashSet();
    
Methods Summary
public voidaddListener(RecoveryResourceListener rrl)

        listeners.add(rrl);
    
public static com.sun.enterprise.resource.RecoveryResourceRegistrygetInstance()

        if (rrr == null) {
            rrr = new RecoveryResourceRegistry();
        }
        return rrr;
    
public java.util.SetgetListeners()

        return listeners;