Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.mom4j.config
Class ConfigImpl  view ConfigImpl download ConfigImpl.java

java.lang.Object
  extended byorg.mom4j.config.ConfigImpl
All Implemented Interfaces:
org.mom4j.api.Mom4jConfig

public class ConfigImpl
extends java.lang.Object
implements org.mom4j.api.Mom4jConfig


Nested Class Summary
(package private) static class ConfigImpl.ConfigHandler
           
 class ConfigImpl.DestinationImpl
           
 class ConfigImpl.UserImpl
           
 
Field Summary
static int DEFAULT_ADMIN_PORT
           
static java.lang.String DEFAULT_DUR_STORE
           
static int DEFAULT_JNDI_PORT
           
static int DEFAULT_POLL_ASYNC
           
static int DEFAULT_POLL_SYNC
           
static int DEFAULT_PORT
           
static java.lang.String DEFAULT_STORE
           
static int DEFAULT_THREAD_COUNT
           
private  ConfigNode rootNode
           
 
Constructor Summary
ConfigImpl(java.lang.String configFile)
           
 
Method Summary
 int getAdminPort()
           
 int getAsyncInterval()
           
 java.util.List getContextHandlers()
           
 java.util.List getDestinations()
           
 java.io.File getDurablesStore()
           
 int getJndiPort()
           
 java.io.File getMessageStore()
           
 int getPort()
           
 int getSyncInterval()
           
 int getThreadCount()
           
 java.util.List getUsers()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values

DEFAULT_ADMIN_PORT

public static final int DEFAULT_ADMIN_PORT
See Also:
Constant Field Values

DEFAULT_JNDI_PORT

public static final int DEFAULT_JNDI_PORT
See Also:
Constant Field Values

DEFAULT_THREAD_COUNT

public static final int DEFAULT_THREAD_COUNT
See Also:
Constant Field Values

DEFAULT_POLL_SYNC

public static final int DEFAULT_POLL_SYNC
See Also:
Constant Field Values

DEFAULT_POLL_ASYNC

public static final int DEFAULT_POLL_ASYNC
See Also:
Constant Field Values

DEFAULT_STORE

public static final java.lang.String DEFAULT_STORE
See Also:
Constant Field Values

DEFAULT_DUR_STORE

public static final java.lang.String DEFAULT_DUR_STORE
See Also:
Constant Field Values

rootNode

private ConfigNode rootNode
Constructor Detail

ConfigImpl

public ConfigImpl(java.lang.String configFile)
           throws org.xml.sax.SAXException,
                  java.io.IOException,
                  javax.xml.parsers.ParserConfigurationException
Method Detail

getPort

public int getPort()
Specified by:
getPort in interface org.mom4j.api.Mom4jConfig

getAdminPort

public int getAdminPort()
Specified by:
getAdminPort in interface org.mom4j.api.Mom4jConfig

getJndiPort

public int getJndiPort()
Specified by:
getJndiPort in interface org.mom4j.api.Mom4jConfig

getThreadCount

public int getThreadCount()
Specified by:
getThreadCount in interface org.mom4j.api.Mom4jConfig

getUsers

public java.util.List getUsers()
Specified by:
getUsers in interface org.mom4j.api.Mom4jConfig

getMessageStore

public java.io.File getMessageStore()
Specified by:
getMessageStore in interface org.mom4j.api.Mom4jConfig

getDurablesStore

public java.io.File getDurablesStore()
Specified by:
getDurablesStore in interface org.mom4j.api.Mom4jConfig

getSyncInterval

public int getSyncInterval()
Specified by:
getSyncInterval in interface org.mom4j.api.Mom4jConfig

getAsyncInterval

public int getAsyncInterval()
Specified by:
getAsyncInterval in interface org.mom4j.api.Mom4jConfig

getDestinations

public java.util.List getDestinations()
Specified by:
getDestinations in interface org.mom4j.api.Mom4jConfig

getContextHandlers

public java.util.List getContextHandlers()
Specified by:
getContextHandlers in interface org.mom4j.api.Mom4jConfig