Package org.jpos.q2.iso
Class DirPollAdaptor
- java.lang.Object
-
- org.jpos.q2.QBeanSupport
-
- org.jpos.q2.iso.DirPollAdaptor
-
- All Implemented Interfaces:
Configurable
,DirPollAdaptorMBean
,QBean
,QBeanSupportMBean
,QPersist
public class DirPollAdaptor extends QBeanSupport implements DirPollAdaptorMBean
DirPoll Adaptor
-
-
Field Summary
Fields Modifier and Type Field Description protected DirPoll
dirPoll
protected java.lang.Thread
dirPollThread
-
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log, scheduledThreadPoolExecutor
-
-
Constructor Summary
Constructors Constructor Description DirPollAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DirPoll
createDirPoll()
java.lang.String
getPath()
long
getPollInterval()
int
getPoolSize()
java.lang.String
getPriorities()
java.lang.String
getProcessor()
protected void
initService()
void
setPath(java.lang.String path)
void
setPollInterval(long pollInterval)
void
setPoolSize(int size)
void
setPriorities(java.lang.String priorities)
void
setProcessor(java.lang.String processor)
protected void
startService()
protected void
stopService()
-
Methods inherited from class org.jpos.q2.QBeanSupport
addAttr, close, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getDump, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getScheduledThreadPoolExecutor, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, start, stop
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
-
Methods inherited from interface org.jpos.q2.QBeanSupportMBean
getDump, getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer
-
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
-
-
-
-
Field Detail
-
dirPollThread
protected java.lang.Thread dirPollThread
-
-
Constructor Detail
-
DirPollAdaptor
public DirPollAdaptor()
-
-
Method Detail
-
initService
protected void initService() throws java.lang.Exception
- Overrides:
initService
in classQBeanSupport
- Throws:
java.lang.Exception
-
createDirPoll
protected DirPoll createDirPoll()
-
startService
protected void startService() throws java.lang.Exception
- Overrides:
startService
in classQBeanSupport
- Throws:
java.lang.Exception
-
stopService
protected void stopService() throws java.lang.Exception
- Overrides:
stopService
in classQBeanSupport
- Throws:
java.lang.Exception
-
setPath
public void setPath(java.lang.String path)
- Specified by:
setPath
in interfaceDirPollAdaptorMBean
-
setPoolSize
public void setPoolSize(int size)
- Specified by:
setPoolSize
in interfaceDirPollAdaptorMBean
-
getPoolSize
public int getPoolSize()
- Specified by:
getPoolSize
in interfaceDirPollAdaptorMBean
-
getPath
public java.lang.String getPath()
- Specified by:
getPath
in interfaceDirPollAdaptorMBean
-
setPollInterval
public void setPollInterval(long pollInterval)
- Specified by:
setPollInterval
in interfaceDirPollAdaptorMBean
-
getPollInterval
public long getPollInterval()
- Specified by:
getPollInterval
in interfaceDirPollAdaptorMBean
-
setPriorities
public void setPriorities(java.lang.String priorities)
- Specified by:
setPriorities
in interfaceDirPollAdaptorMBean
-
getPriorities
public java.lang.String getPriorities()
- Specified by:
getPriorities
in interfaceDirPollAdaptorMBean
-
setProcessor
public void setProcessor(java.lang.String processor)
- Specified by:
setProcessor
in interfaceDirPollAdaptorMBean
-
getProcessor
public java.lang.String getProcessor()
- Specified by:
getProcessor
in interfaceDirPollAdaptorMBean
-
-