com.atlassian.confluence.plugin.descriptor
Class VelocityContextItemModuleDescriptor
java.lang.Object
com.atlassian.plugin.descriptors.AbstractModuleDescriptor
com.atlassian.confluence.plugin.descriptor.VelocityContextItemModuleDescriptor
- All Implemented Interfaces:
- ModuleDescriptor, Resourced
- public class VelocityContextItemModuleDescriptor
- extends AbstractModuleDescriptor
A module descriptor to add items to the Velocity contexts used everywhere.
Note: Items must have a zero argument constructor.
Methods inherited from class com.atlassian.plugin.descriptors.AbstractModuleDescriptor |
assertModuleClassImplements, destroy, getCompleteKey, getDescription, getDescriptionKey, getI18nNameKey, getKey, getMinJavaVersion, getModuleClass, getName, getParams, getPlugin, getPluginKey, getResourceDescriptor, getResourceDescriptors, getResourceDescriptors, getResourceLocation, isEnabledByDefault, isSingleton, isSystemModule, satisfiesMinJavaVersion, setPlugin, toString |
VelocityContextItemModuleDescriptor
public VelocityContextItemModuleDescriptor()
init
public void init(Plugin plugin,
org.dom4j.Element element)
throws PluginParseException
- Throws:
PluginParseException
getModule
public Object getModule()
isSingletonByDefault
protected boolean isSingletonByDefault()
getContextKey
public String getContextKey()