Page | DESIGNER:Filesystem Adapter |
---|
Topic | Filesystem Adapter |
---|
|
Parameters of Action "close"
Multiexcerpt include |
---|
MultiExcerptName | close |
---|
PageWithExcerpt | File System |
---|
|
Defining a "close" Action
On end of service call, all files that have been used with the file system adapter are closed automatically. In some cases, it may be helpful to manually close a file (e.g. if the service wants to rename or push the file).
To close a file with the file system adapter, you need to define a close action on an action having the stereotype <<FileSystemAdapter>>. You can do this manually (refer to Figure: The Specification Dialog of the File System Adapter) or with the help of the xUML Action Wizard (see context menu of the action node).
- Using static file access, the path and file name of the file you want to close are defined in the component diagram.
Multiexcerpt include |
---|
MultiExcerptName | file_system_alias |
---|
nopanel | true |
---|
PageWithExcerpt | Reading Files |
---|
|
- Using dynamic file access, the path and file name of the file you want to close are defined in an activity diagram.
For more information on static and dynamic file access refer to Reading Files.