org.jpos.q2.iso
Class DirPollAdaptor

java.lang.Object
  extended by org.jpos.q2.QBeanSupport
      extended by org.jpos.q2.iso.DirPollAdaptor
All Implemented Interfaces:
Configurable, DirPollAdaptorMBean, QBean, QBeanSupportMBean, QPersist

public class DirPollAdaptor
extends QBeanSupport
implements DirPollAdaptorMBean

DirPoll Adaptor

Version:
$Revision$ $Date$
Author:
Alejandro Revilla

Field Summary
protected  DirPoll dirPoll
           
 
Fields inherited from class org.jpos.q2.QBeanSupport
cfg, log
 
Fields inherited from interface org.jpos.q2.QBean
DESTROYED, FAILED, STARTED, STARTING, stateString, STOPPED, STOPPING
 
Constructor Summary
DirPollAdaptor()
           
 
Method Summary
 String getPath()
           
 long getPollInterval()
           
 int getPoolSize()
           
 String getPriorities()
           
 String getProcessor()
           
protected  void initService()
           
 void setPath(String path)
           
 void setPollInterval(long pollInterval)
           
 void setPoolSize(int size)
           
 void setPriorities(String priorities)
           
 void setProcessor(String processor)
           
protected  void startService()
           
protected  void stopService()
           
 
Methods inherited from class org.jpos.q2.QBeanSupport
addAttr, createElement, destroy, destroyService, getAttrs, getAttrs, getConfiguration, getFactory, getLoader, getLoaderURLS, getLog, getLogger, getName, getPersist, getProperties, getProperty, getRealm, getServer, getState, getStateAsString, init, isModified, running, setAttr, setConfiguration, setLogger, setModified, setName, setPersist, setProperty, setRealm, setServer, setState, shutdownQ2, 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.QBeanSupportMBean
getLoader, getLoaderURLS, getLogger, getName, getRealm, getServer, setLogger, setName, setPersist, setRealm, setServer, shutdownQ2
 
Methods inherited from interface org.jpos.q2.QBean
destroy, getState, getStateAsString, init, start, stop
 
Methods inherited from interface org.jpos.q2.QPersist
getPersist, isModified
 

Field Detail

dirPoll

protected DirPoll dirPoll
Constructor Detail

DirPollAdaptor

public DirPollAdaptor()
Method Detail

initService

protected void initService()
                    throws Exception
Overrides:
initService in class QBeanSupport
Throws:
Exception

startService

protected void startService()
                     throws Exception
Overrides:
startService in class QBeanSupport
Throws:
Exception

stopService

protected void stopService()
                    throws Exception
Overrides:
stopService in class QBeanSupport
Throws:
Exception

setPath

public void setPath(String path)
Specified by:
setPath in interface DirPollAdaptorMBean

setPoolSize

public void setPoolSize(int size)
Specified by:
setPoolSize in interface DirPollAdaptorMBean

getPoolSize

public int getPoolSize()
Specified by:
getPoolSize in interface DirPollAdaptorMBean

getPath

public String getPath()
Specified by:
getPath in interface DirPollAdaptorMBean

setPollInterval

public void setPollInterval(long pollInterval)
Specified by:
setPollInterval in interface DirPollAdaptorMBean

getPollInterval

public long getPollInterval()
Specified by:
getPollInterval in interface DirPollAdaptorMBean

setPriorities

public void setPriorities(String priorities)
Specified by:
setPriorities in interface DirPollAdaptorMBean

getPriorities

public String getPriorities()
Specified by:
getPriorities in interface DirPollAdaptorMBean

setProcessor

public void setProcessor(String processor)
Specified by:
setProcessor in interface DirPollAdaptorMBean

getProcessor

public String getProcessor()
Specified by:
getProcessor in interface DirPollAdaptorMBean


Copyright © 1998-2012 jPOS.org. All Rights Reserved.