org.apache.directory.shared.ldap.extras.extended.ads_impl.gracefulShutdown
Class GracefulShutdownGrammar

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar<GracefulShutdownContainer>
      extended by org.apache.directory.shared.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownGrammar
All Implemented Interfaces:
Grammar<GracefulShutdownContainer>

public final class GracefulShutdownGrammar
extends AbstractGrammar<GracefulShutdownContainer>

This class implements the Graceful shutdown. All the actions are declared in this class. As it is a singleton, these declaration are only done once. The grammar is :

  GracefulShutdwon ::= SEQUENCE {
      timeOffline INTEGER (0..720) DEFAULT 0,
      delay [0] INTEGER (0..86400) DEFAULT 0
  }
 

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
transitions
 
Method Summary
static GracefulShutdownGrammar getInstance()
          This class is a singleton.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.grammar.AbstractGrammar
executeAction, getName, getTransition, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static GracefulShutdownGrammar getInstance()
This class is a singleton.

Returns:
An instance on this grammar


Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.