|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.connector.file.FsConnectionFactoryImpl
public class FsConnectionFactoryImpl
Implements the FsConnectionFactory interface.
| Field Summary |
|---|
| Fields inherited from interface org.jcoderz.commons.connector.file.FsConnectionFactory |
|---|
FILE_TRANSFER_CHUNK_SIZE_DEF_VALUE, PROP_FILE_TRANSFER_CHUNK_SIZE, PROP_TEMP_DIR |
| Constructor Summary | |
|---|---|
FsConnectionFactoryImpl(ConnectionManager cm,
ManagedConnectionFactoryBase mcf,
Properties props)
Constructs a new FsConnectionFactoryImpl. |
|
| Method Summary | |
|---|---|
FsConnection |
getConnection()
Returns a connection to the File System. |
FsConnection |
getConnection(Properties props)
Returns a connection to the File System. |
ConnectionManager |
getConnectionManager()
|
Reference |
getReference()
|
void |
setReference(Reference reference)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FsConnectionFactoryImpl(ConnectionManager cm,
ManagedConnectionFactoryBase mcf,
Properties props)
cm - The ConnectionManager to use.mcf - The underlying ManagedConnectionFactory.props - The properties to use. These properties come from the
deployment descriptor if ones defined; otherwise these the default
properties.| Method Detail |
|---|
public FsConnection getConnection()
throws ResourceException
getConnection in interface FsConnectionFactoryResourceException - Failed to get a connection.
public FsConnection getConnection(Properties props)
throws ResourceException
getConnection in interface FsConnectionFactoryprops - The properties to use.
ResourceException - Failed to get a connection.public void setReference(Reference reference)
public Reference getReference()
throws NamingException
getReference in interface ReferenceableNamingExceptionpublic ConnectionManager getConnectionManager()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||