|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FsConnectionFactory
This factory provides an interface to get a connection to the File System.
The File System Connector does not provide the
javax.resource.cci interface. A connector's client should use
this factory to get a connection to the File System instead.
| Field Summary | |
|---|---|
static long |
FILE_TRANSFER_CHUNK_SIZE_DEF_VALUE
Default value for chunk size, 20 MByte. |
static String |
PROP_FILE_TRANSFER_CHUNK_SIZE
Property to define the chunk size used while file transfering. |
static String |
PROP_TEMP_DIR
Property temp dir. |
| Method Summary | |
|---|---|
FsConnection |
getConnection()
Returns a connection to the File System. |
FsConnection |
getConnection(Properties props)
Returns a connection to the File System. |
| Methods inherited from interface javax.resource.Referenceable |
|---|
setReference |
| Methods inherited from interface javax.naming.Referenceable |
|---|
getReference |
| Field Detail |
|---|
static final long FILE_TRANSFER_CHUNK_SIZE_DEF_VALUE
static final String PROP_TEMP_DIR
static final String PROP_FILE_TRANSFER_CHUNK_SIZE
| Method Detail |
|---|
FsConnection getConnection()
throws ResourceException
ResourceException - Failed to get a connection.
FsConnection getConnection(Properties props)
throws ResourceException
props - The properties to use.
ResourceException - Failed to get a connection.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||