Chapter 25. Plug-in developer

Table of Contents

25.1. How to organize your plug-in project
25.1.1. Using Ant
Directory and file layout
The build file
Building the plug-in
25.1.2. Make the plug-in compatible with the auto-installation wizard
Installing plug-in configurations
25.2. The Plug-in API
25.2.1. The main plug-in interfaces
The net.sf.basedb.core.plugin.Plugin interface
The net.sf.basedb.core.plugin.InteractivePlugin interface
25.2.2. How the BASE core interacts with the plug-in when...
Installing a plug-in
Configuring a plug-in
Checking if a plug-in can be used in a given context
Creating a new job
Executing a job
25.2.3. Abort a running a plug-in
25.2.4. Using custom JSP pages for parameter input
25.3. Import plug-ins
25.3.1. Autodetect file formats
The net.sf.basedb.core.plugin.AutoDetectingImporter interface
Call sequence during autodetection
25.3.2. The AbstractFlatFileImporter superclass
Configure by example
25.4. Export plug-ins
25.4.1. Immediate download of exported data
The ImmediateDownloadExporter interface
The ExportOutputStream class
Call sequence during immediate download
25.4.2. The AbstractExporterPlugin class
25.5. Analysis plug-ins
25.5.1. The AbstractAnalysisPlugin class
25.5.2. The AnalysisFilterPlugin interface
25.6. Other plug-ins
25.6.1. Authentication plug-ins
Internal vs. external authentation
The Authenticator interface
Configuration settings
25.6.2. Secondary file storage plugins
Primary vs. secondary storage
The SecondaryStorageController interface
Configuration settings
25.6.3. File unpacker plug-ins
25.6.4. File packer plug-ins
25.6.5. Logging plug-ins
The LogManagerFactory interface
The LogManager interface
The EntityLogger interface
25.7. How BASE load plug-in classes
25.8. Example plug-ins (with download)