org.jboss.soa.esb.listeners.gateway
Class RemoteGatewayListener

java.lang.Object
  extended by org.jboss.soa.esb.listeners.gateway.AbstractFileGateway
      extended by org.jboss.soa.esb.listeners.gateway.FileGatewayListener
          extended by org.jboss.soa.esb.listeners.gateway.RemoteGatewayListener
All Implemented Interfaces:
java.lang.Runnable

public class RemoteGatewayListener
extends FileGatewayListener


Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.soa.esb.listeners.gateway.FileGatewayListener
FileGatewayListener.PackageFileContents
 
Field Summary
 
Fields inherited from class org.jboss.soa.esb.listeners.gateway.AbstractFileGateway
_composer, _composerClass, _composerName, _config, _controller, _courier, _deleteAfterOK, _errorDirectory, _errorSuffix, _inputDirectory, _inputSuffix, _logger, _myEpr, _postProcessDirectory, _postProcessSuffix, _processMethod, _serviceCategory, _serviceName, _sleepBetweenPolls, _targetEprs, _targetServiceCategory, _targetServiceName, _workingSuffix
 
Constructor Summary
protected RemoteGatewayListener()
           
  RemoteGatewayListener(GatewayListenerController commandListener, ConfigTree config)
           
 
Method Summary
protected  void checkMyParms()
          Check for mandatory and optional attributes in parameter tree
 boolean deleteFile(java.io.File file)
           
protected  void seeIfOkToWorkOnDir(java.io.File p_oDir)
           
 
Methods inherited from class org.jboss.soa.esb.listeners.gateway.FileGatewayListener
copyFile
 
Methods inherited from class org.jboss.soa.esb.listeners.gateway.AbstractFileGateway
resolveComposerClass, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteGatewayListener

protected RemoteGatewayListener()

RemoteGatewayListener

public RemoteGatewayListener(GatewayListenerController commandListener,
                             ConfigTree config)
                      throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

checkMyParms

protected void checkMyParms()
                     throws java.lang.Exception
Description copied from class: AbstractFileGateway
Check for mandatory and optional attributes in parameter tree

Overrides:
checkMyParms in class FileGatewayListener
Throws:
java.lang.Exception - - if mandatory atts are not right or actionClass not in classpath

seeIfOkToWorkOnDir

protected void seeIfOkToWorkOnDir(java.io.File p_oDir)
                           throws GatewayException
Overrides:
seeIfOkToWorkOnDir in class FileGatewayListener
Throws:
GatewayException

deleteFile

public boolean deleteFile(java.io.File file)
                   throws GatewayException
Throws:
GatewayException