java.lang.Object
org.mom4j.config.ConfigImpl
- All Implemented Interfaces:
- org.mom4j.api.Mom4jConfig
- public class ConfigImpl
- extends java.lang.Object
- implements org.mom4j.api.Mom4jConfig
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
ConfigImpl
public ConfigImpl(java.lang.String configFile)
throws org.xml.sax.SAXException,
java.io.IOException,
javax.xml.parsers.ParserConfigurationException
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