Package org.bgerp.plugin.kernel
Class Plugin
java.lang.Object
ru.bgcrm.plugin.Plugin
org.bgerp.plugin.kernel.Plugin
Special plugin for application's kernel.
-
Field Summary
Fields inherited from class ru.bgcrm.plugin.Plugin
PATH_CSS, PATH_JS, PATH_JSP_ADMIN_PLUGIN, PATH_JSP_OPEN_PLUGIN, PATH_JSP_USER_PLUGIN, PATH_LIB
-
Method Summary
Modifier and TypeMethodDescriptionPackages for searching annotated actions.DB cleaner.Plugin's entities.Used DB tables.void
init
(Connection con) Initialization during server's start.boolean
If the plugin enabled.boolean
isSystem()
System plugins are always loaded, enabled and not show in the list.Default implementation, loads endpoints from the XMLPlugin.document
.Methods inherited from class ru.bgcrm.plugin.Plugin
getDependencies, getDocument, getEndpoints, getId, getLocalization, getLocalizer, getMessageTypeClass, getResourcePath, getTitle, getTitleWithPrefix, getXml
-
Field Details
-
ID
- See Also:
-
INSTANCE
-
ENDPOINT_MESSAGE_EDITOR
- See Also:
-
-
Method Details
-
isSystem
public boolean isSystem()Description copied from class:Plugin
System plugins are always loaded, enabled and not show in the list. -
isEnabled
Description copied from class:Plugin
If the plugin enabled. -
getActionPackages
Description copied from class:Plugin
Packages for searching annotated actions.- Overrides:
getActionPackages
in classPlugin
- Returns:
-
getTables
Description copied from class:Plugin
Used DB tables. -
getObjectTypes
Description copied from class:Plugin
Plugin's entities.- Overrides:
getObjectTypes
in classPlugin
- Returns:
-
getCleaner
Description copied from class:Plugin
DB cleaner.- Overrides:
getCleaner
in classPlugin
- Returns:
-
loadEndpoints
Description copied from class:Plugin
Default implementation, loads endpoints from the XMLPlugin.document
. Deprecated way, for backward compatibility only.- Overrides:
loadEndpoints
in classPlugin
- Returns:
-
init
Description copied from class:Plugin
Initialization during server's start.
-