org.apache.jackrabbit.j2ee
Class AbstractConfig

java.lang.Object
  extended by org.apache.jackrabbit.j2ee.AbstractConfig
Direct Known Subclasses:
BootstrapConfig, JNDIConfig, RMIConfig

public abstract class AbstractConfig
extends Object

Abstract configuration class that is based on a bean map.


Field Summary
protected  boolean valid
           
 
Constructor Summary
AbstractConfig()
           
 
Method Summary
 void init(Properties props)
          Initializes the configuration with values from the given properties
 void init(javax.servlet.ServletConfig ctx)
           
 boolean isValid()
           
 void logInfos()
           
 String toMapName(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(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 String toMapName(String name,
                        char delim)

validate

public void validate()

isValid

public boolean isValid()

logInfos

public void logInfos()


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.