|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PluginFactory
Creates the plugin artifact and deploys it into the appropriate plugin management system
| Method Summary | |
|---|---|
String |
canCreate(PluginArtifact pluginArtifact)
Determines if this factory can handle this artifact. |
Plugin |
create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
Deprecated. Since 2.2.0, use create(PluginArtifact,ModuleDescriptorFactory) instead |
Plugin |
create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
Deploys the plugin artifact by instantiating the plugin and configuring it. |
| Method Detail |
|---|
String canCreate(PluginArtifact pluginArtifact)
throws PluginParseException
pluginArtifact - The artifact to test
PluginParseException - If there are exceptions parsing the plugin configuration when
the deployer should have been able to deploy the plugin
Plugin create(DeploymentUnit deploymentUnit,
ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
create(PluginArtifact,ModuleDescriptorFactory) instead
canCreate(PluginArtifact) call returned the plugin key
deploymentUnit - the unit to deploymoduleDescriptorFactory - the factory for the module descriptors
PluginParseException - if the plugin could not be parsed
Plugin create(PluginArtifact pluginArtifact,
ModuleDescriptorFactory moduleDescriptorFactory)
throws PluginParseException
canCreate(PluginArtifact) call returned the plugin key
pluginArtifact - the plugin artifact to deploymoduleDescriptorFactory - the factory for the module descriptors
PluginParseException - if the plugin could not be parsed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||