|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.filesys.alfresco.AlfrescoDiskDriver
public abstract class AlfrescoDiskDriver
Alfresco Disk Driver Base Class
Provides common code to the Alfresco filesystem implementations.
Field Summary | |
---|---|
protected IOControlHandler |
ioControlHandler
|
protected TransactionService |
m_transactionService
|
Constructor Summary | |
---|---|
AlfrescoDiskDriver()
|
Method Summary | |
---|---|
IOControlHandler |
getIoControlHandler()
|
ServiceRegistry |
getServiceRegistry()
Return the service registry |
TransactionService |
getTransactionService()
Return the transaction service |
org.alfresco.jlan.util.DataBuffer |
processIOControl(org.alfresco.jlan.server.SrvSession sess,
org.alfresco.jlan.server.filesys.TreeConnection tree,
int ctrlCode,
int fid,
org.alfresco.jlan.util.DataBuffer dataBuf,
boolean isFSCtrl,
int filter)
Process a filesystem I/O control request |
void |
registerContext(org.alfresco.jlan.server.core.DeviceContext ctx)
Registers a device context object for this instance of the shared device. |
void |
setIoControlHandler(IOControlHandler ioControlHandler)
|
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Set the service registry |
void |
setTransactionService(TransactionService transactionService)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.alfresco.jlan.server.filesys.DiskInterface |
---|
closeFile, createDirectory, createFile, deleteDirectory, deleteFile, fileExists, flushFile, getFileInformation, isReadOnly, openFile, readFile, renameFile, seekFile, setFileInformation, startSearch, truncateFile, writeFile |
Methods inherited from interface org.alfresco.jlan.server.core.DeviceInterface |
---|
createContext, treeClosed, treeOpened |
Field Detail |
---|
protected TransactionService m_transactionService
protected IOControlHandler ioControlHandler
Constructor Detail |
---|
public AlfrescoDiskDriver()
Method Detail |
---|
public void setIoControlHandler(IOControlHandler ioControlHandler)
public IOControlHandler getIoControlHandler()
public final ServiceRegistry getServiceRegistry()
public final TransactionService getTransactionService()
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- public void setTransactionService(TransactionService transactionService)
transactionService
- the transaction servicepublic org.alfresco.jlan.util.DataBuffer processIOControl(org.alfresco.jlan.server.SrvSession sess, org.alfresco.jlan.server.filesys.TreeConnection tree, int ctrlCode, int fid, org.alfresco.jlan.util.DataBuffer dataBuf, boolean isFSCtrl, int filter) throws org.alfresco.jlan.server.filesys.IOControlNotImplementedException, org.alfresco.jlan.smb.SMBException
processIOControl
in interface org.alfresco.jlan.server.filesys.IOCtlInterface
sess
- Server sessiontree
- Tree connection.ctrlCode
- I/O control codefid
- File iddataBuf
- I/O control specific input dataisFSCtrl
- true if this is a filesystem control, or false for a device controlfilter
- if bit0 is set indicates that the control applies to the share root handle
org.alfresco.jlan.server.filesys.IOControlNotImplementedException
org.alfresco.jlan.smb.SMBException
public void registerContext(org.alfresco.jlan.server.core.DeviceContext ctx) throws org.alfresco.jlan.server.core.DeviceContextException
registerContext
in interface ExtendedDiskInterface
ctx
- the contextserverConfig
- ServerConfigurationBean
org.alfresco.jlan.server.core.DeviceContextException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |