Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
A
AbstractFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
AbstractFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
AbstractFileService
accept(File, String)
- Method in class org.ow2.petals.bc.filetransfer.util.
LockFileFilter
addDateToFileName(String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Add the current time as suffix of the filename
addFileAsAttachment(File, String, NormalizedMessage)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Send the file as an attachment
addTransferedFile(Exchange, File)
- Method in class org.ow2.petals.bc.filetransfer.
FileTransferComponent
addTransferedFile(File, Exception)
- Method in class org.ow2.petals.bc.filetransfer.util.
TransferReport
Add a transfered file to the report.
B
BASE_MSG_ATTACH_VAR
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Define the variable used in the base message to insert xop:Include element
BASE_MSG_CONTENT_VAR
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Define the variable used in the base message to insert xml file content
buildConsumeConfiguration(ConfigurationExtensions)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Build the configuration for consume service-unit.
C
CHECK_FILE_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
checkAccess(File)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
check if the file can be read
CheckFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Check if the specified file exist(absolute and relative path are allowed).
CheckFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
CheckFileService
checkTransferModeInBaseMsg(String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Extract the transfer mode variable in the base message.
checkTransferModeInSU(String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Extract the transfer mode described in the jbi.xml of the service unit.
cleanPendingProcessors()
- Method in class org.ow2.petals.bc.filetransfer.
FileTransferComponent
Remove from the map all done and cancelled task
ConsumeConfiguration
- Class in
org.ow2.petals.bc.filetransfer.service.consume
Represents the SU parameter for consume mode
ConsumeConfiguration(File, String, boolean, long, LockFileFilter, long, File, String, int, long)
- Constructor for class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
containsFailedTransfer()
- Method in class org.ow2.petals.bc.filetransfer.util.
TransferReport
copyFileToContent(File, NormalizedMessage)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Send the file as a Source
createMessageOnBaseMsg(File, String, String, String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Create message based on the xml structure define by the base-msg parameter
createMessageOnDefaultMsg(File, String, String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Create message based on default message structure.
D
DEFAULT_CONSUME_POOL_SIZE
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Define the maximum number of thread used in the pool for each consume SU
DEFAULT_CONSUME_POOL_TIMEOUT
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Define the maximum time to wait before removed idle thread from the pool for each consume SU (ms)
DEFAULT_FILENAME
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Default filename
DEFAULT_POLLING_PERIOD
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Defined the default value for the polling period in ms
DEL_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
DelFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Delete a specified file.
DelFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
DelFileService
DIR_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
DirService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
List "folder" contents
DirService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
DirService
doStop()
- Method in class org.ow2.petals.bc.filetransfer.
FileTransferComponent
E
ENUM_TRANSFER_MODE_ATTACHMENT
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Define the variable used in the service unit to define the transfer mode
ENUM_TRANSFER_MODE_CONTENT
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
Define the variable used in the service unit to define the transfer mode
evaluateFilePath(String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Evaluate a file path to resolve environment variables (place holders).
EXCEPTION_ELEMENT
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
extensions
- Variable in class org.ow2.petals.bc.filetransfer.service.provide.
AbstractFileService
ExternalEventPoller
- Class in
org.ow2.petals.bc.filetransfer.service.consume
Watch folder and create for each new file an ExternalEventProcessor thread
ExternalEventPoller(ConsumeConfiguration, FileTransferExternalListener)
- Constructor for class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
ExternalEventProcessor
- Class in
org.ow2.petals.bc.filetransfer.service.consume
Process file
ExternalEventProcessor(File, ExternalEventPoller)
- Constructor for class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventProcessor
ExternalEventProcessorFactory
- Class in
org.ow2.petals.bc.filetransfer.service.consume
Create named thread
extractFilePattern(Exchange)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
extract in the exchange request the filepattern to use
F
FILE_ELEMENT
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
FILENAME_ATTRIBUTE
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
FILENAME_KO
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
FILENAME_OK
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
FILEPATH_KEY
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConsumeFlowStepBeginLogData
FILETRANSFER_SERVICE_NS
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
FileTransferComponent
- Class in
org.ow2.petals.bc.filetransfer
FileTransferComponent()
- Constructor for class org.ow2.petals.bc.filetransfer.
FileTransferComponent
FileTransferConstants
- Class in
org.ow2.petals.bc.filetransfer
FileTransferConstants
FileTransferConstants()
- Constructor for class org.ow2.petals.bc.filetransfer.
FileTransferConstants
FileTransferConsumeFlowStepBeginLogData
- Class in
org.ow2.petals.bc.filetransfer
FileTransferConsumeFlowStepBeginLogData(String, String, String, String, String, String, String)
- Constructor for class org.ow2.petals.bc.filetransfer.
FileTransferConsumeFlowStepBeginLogData
FileTransferExternalListener
- Class in
org.ow2.petals.bc.filetransfer.listeners
ConsumeSUManager
FileTransferExternalListener()
- Constructor for class org.ow2.petals.bc.filetransfer.listeners.
FileTransferExternalListener
FileTransferJBIListener
- Class in
org.ow2.petals.bc.filetransfer.listeners
The file transfer BC JBI listener.
FileTransferJBIListener()
- Constructor for class org.ow2.petals.bc.filetransfer.listeners.
FileTransferJBIListener
FileTransferUtils
- Class in
org.ow2.petals.bc.filetransfer.util
FileTransferUtils()
- Constructor for class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
G
generateFileNameList(String[], QName)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
DirService
generates the XML representation of the file name list
generateMTOMListResponse(List<String>, QName)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Generate a MTOM response structure for a list of files.
generateMTOMResponse(String, QName)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Generate a MTOM response structure for a single file.
generateRawReport()
- Method in class org.ow2.petals.bc.filetransfer.util.
TransferReport
generateXmlReport()
- Method in class org.ow2.petals.bc.filetransfer.util.
TransferReport
Generate the report of the transfers done.
GET_ATTACHMENT_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
GET_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
getBackupDirectory()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
getBackupDirectory(ConfigurationExtensions)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Return the backup directory,
null
if it is not configured.
getBaseMsg()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
The base-message defined in the SU
getConfiguration()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
getConsumeContext()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
getCorePoolSize()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
getCorePoolTimeout()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
getDelay()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
The first task execution delay
GetFileAsAttachmentService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Get the file in the configured directory(parameter folder) and set it as attachment on the out-message.
GetFileAsAttachmentService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
GetFileAsAttachmentService
getFilePattern()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Regex for the file to process
GetFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Get the file in the configured directory (parameter : folder) and set it in the out-message payload.
GetFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
GetFileService
getFolderPath(ConfigurationExtensions)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Return the workspace directory
getLogger()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
getPendingProcessors()
- Method in class org.ow2.petals.bc.filetransfer.
FileTransferComponent
getPeriod()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
The polling period
getPolledDirectory()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Polled directory
getTargetFileName(Exchange)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
AbstractFileService
Get the target file name for a unique transfer.
getTransferedFile(Exchange)
- Method in class org.ow2.petals.bc.filetransfer.
FileTransferComponent
getTransferMode()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Transfer mode (content or attachment)
getValidMepMessageForOperation(String, Message.MEPConstants...)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
Build a message to indicate the mep available for this operation.
I
init()
- Method in class org.ow2.petals.bc.filetransfer.listeners.
FileTransferExternalListener
isBaseMsgOn()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Specified if base-message feature is activated
L
listFiles(File, String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
return the files contained in the READ DIRECTORY set in the extensions, using the given filePattern
LockFileFilter
- Class in
org.ow2.petals.bc.filetransfer.util
Extends RegexFileNameFilter to test if file is a ".lock" file.
LockFileFilter(String)
- Constructor for class org.ow2.petals.bc.filetransfer.util.
LockFileFilter
Wildchar will be transform in regex
LockFileFilter()
- Constructor for class org.ow2.petals.bc.filetransfer.util.
LockFileFilter
logger
- Variable in class org.ow2.petals.bc.filetransfer.service.provide.
AbstractFileService
M
MGET_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
MGetFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Get files as JBI attachment.
MGetFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
MGetFileService
moveFile(File, ConfigurationExtensions)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
move file to the backup directory specified in the SU
if no backup directory if set, move to the Temp directory.
MPUT_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
MPutFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Copy attachments of the JBI in-message into the specified directory.(parameter : write-directory).
MPutFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
MPutFileService
N
NAMESPACE
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
newThread(Runnable)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventProcessorFactory
O
onJBIMessage(Exchange)
- Method in class org.ow2.petals.bc.filetransfer.listeners.
FileTransferJBIListener
Process the exchange : copy the received elements
org.ow2.petals.bc.filetransfer
- package org.ow2.petals.bc.filetransfer
org.ow2.petals.bc.filetransfer.listeners
- package org.ow2.petals.bc.filetransfer.listeners
org.ow2.petals.bc.filetransfer.service.consume
- package org.ow2.petals.bc.filetransfer.service.consume
org.ow2.petals.bc.filetransfer.service.provide
- package org.ow2.petals.bc.filetransfer.service.provide
org.ow2.petals.bc.filetransfer.util
- package org.ow2.petals.bc.filetransfer.util
P
PARAM_BACKUP_DIRECTORY
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_BASE_MSG
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_FILENAME
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_FOLDER
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_POLLING_PERIOD
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_PROCESSOR_POOL_SIZE
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_PROCESSOR_POOL_TIMEOUT
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PARAM_TRANSFER_MODE
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
AbstractFileService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
CheckFileService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
DelFileService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
DirService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
GetFileAsAttachmentService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
GetFileService
Process the exchange : get the file in the configured directory,
using filename set in the exchange
file is returned as OUT response (assume the file is an XML file)
return the first file
the file is move/deleted after read
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
MGetFileService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
MPutFileService
process(Exchange, Document)
- Method in class org.ow2.petals.bc.filetransfer.service.provide.
PutFileService
PUT_OPERATION
- Static variable in class org.ow2.petals.bc.filetransfer.
FileTransferConstants
PutFileService
- Class in
org.ow2.petals.bc.filetransfer.service.provide
Writing JBI in-message payload in a file.
PutFileService(ConfigurationExtensions, Logger)
- Constructor for class org.ow2.petals.bc.filetransfer.service.provide.
PutFileService
R
ROOT_ELEMENT
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
run()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
run()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventProcessor
S
setBackupDirectory(File)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Backup directory (could be null)
setBaseMsg(String)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
The base-message defined in the SU
setBaseMsgOn(boolean)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Specified if base-message feature is activated
setCorePoolSize(int)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
setCorePoolTimeout(long)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
setDelay(long)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
The first task execution delay
setFilePattern(LockFileFilter)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Regex for the file to process
setIOFaultOnExchange(Exchange, String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
TODO : create the fault from its WSDL description.
setMissingElementFaultOnExchange(Exchange, String)
- Static method in class org.ow2.petals.bc.filetransfer.util.
FileTransferUtils
setPeriod(long)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
The polling period
setPolledDirectory(File)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Polled directory
setTransferMode(String)
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ConsumeConfiguration
Transfer mode (content or attachment)
start()
- Method in class org.ow2.petals.bc.filetransfer.listeners.
FileTransferExternalListener
startPolling()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
Start this poller
stop()
- Method in class org.ow2.petals.bc.filetransfer.listeners.
FileTransferExternalListener
stopPolling()
- Method in class org.ow2.petals.bc.filetransfer.service.consume.
ExternalEventPoller
Cancel and purge this timer.
Shutdown all ExternalEventProcessor thread (wait the end of all current tasks and don't accept new Task)
T
TRANSFER_ATTRIBUTE
- Static variable in class org.ow2.petals.bc.filetransfer.util.
TransferReport
TransferReport
- Class in
org.ow2.petals.bc.filetransfer.util
Utility class to handle the transfer report
TransferReport()
- Constructor for class org.ow2.petals.bc.filetransfer.util.
TransferReport
Default constructor
A
B
C
D
E
F
G
I
L
M
N
O
P
R
S
T
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
Copyright © 2005-2011
Petals Link (EBM Websourcing)
. All Rights Reserved.