Class AbstractConfig

  • Direct Known Subclasses:
    BootstrapConfig, JNDIConfig, RMIConfig

    public abstract class AbstractConfig
    extends java.lang.Object
    Abstract configuration class that is based on a bean map.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected boolean valid  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractConfig()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void init​(java.util.Properties props)
      Initializes the configuration with values from the given properties
      void init​(javax.servlet.ServletConfig ctx)  
      boolean isValid()  
      void logInfos()  
      java.lang.String toMapName​(java.lang.String name, char delim)  
      void validate()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • valid

        protected boolean valid
    • Constructor Detail

      • AbstractConfig

        public AbstractConfig()
    • Method Detail

      • init

        public void init​(java.util.Properties props)
                  throws javax.servlet.ServletException
        Initializes the configuration with values from the given properties
        Parameters:
        props - the configuration properties
        Throws:
        javax.servlet.ServletException
      • init

        public void init​(javax.servlet.ServletConfig ctx)
                  throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • toMapName

        public java.lang.String toMapName​(java.lang.String name,
                                          char delim)
      • validate

        public void validate()
      • isValid

        public boolean isValid()
      • logInfos

        public void logInfos()