Servlet Plugin Module

このModule Typeの目的

Servlet plugin modulesはプラグインの一部としてJava servletsを展開することを可能にする。

配置(Configuration)

Servlet plugin moduleのrootの要素はservlet。
これはconfigurationのために次のattributesとchile elementsを許可する。

Attributes
名前 Required Description 初期値
class v servlet Java class.
Must be a subclass of javax.servlet.http.HttpServlet.
See the plugin framework guide to creating plugin module instances.
state Indicate whether the plugin module should be disabled by default (value='disabled') or enabled by default (value='enabled'). enabled
i18n-name-key The localisation key for the human-readable name of the plugin module.
key v The identifier of the plugin module. This key must be unique within the plugin where it is defined.
Sometimes, in other contexts, you may need to uniquely identify a module. Do this with the complete module key. A module with key fred in a plugin with key com.example.modules will have a complete key of com.example.modules:fred. I.e. the identifier of the servlet.
N/A
name The human-readable name of the plugin module. I.e. the human-readable name of the servlet. The plugin key.
system Indicates whether this plugin module is a system plugin module (value='true') or not (value='false'). Only available for non-OSGi plugins. false

タグ:

+ タグ編集
  • タグ:
最終更新:2012年06月13日 14:50