org.rhq.enterprise.server.plugins.filetemplate
Class BundleServerPluginComponent

java.lang.Object
  extended by org.rhq.enterprise.server.plugins.filetemplate.BundleServerPluginComponent
All Implemented Interfaces:
BundleServerPluginFacet, ControlFacet, ServerPluginComponent

public class BundleServerPluginComponent
extends Object
implements ServerPluginComponent, BundleServerPluginFacet, ControlFacet

A bundle server-side plugin component that the server uses to process file template bundles.

Author:
John Mazzitelli

Constructor Summary
BundleServerPluginComponent()
           
 
Method Summary
 void initialize(ServerPluginContext context)
           
 ControlResults invoke(String name, Configuration parameters)
           
 RecipeParseResults parseRecipe(String recipe)
           
 BundleDistributionInfo processBundleDistributionFile(File distributionFile)
           
 void shutdown()
           
 void start()
           
 void stop()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BundleServerPluginComponent

public BundleServerPluginComponent()
Method Detail

initialize

public void initialize(ServerPluginContext context)
                throws Exception
Specified by:
initialize in interface ServerPluginComponent
Throws:
Exception

start

public void start()
Specified by:
start in interface ServerPluginComponent

stop

public void stop()
Specified by:
stop in interface ServerPluginComponent

shutdown

public void shutdown()
Specified by:
shutdown in interface ServerPluginComponent

parseRecipe

public RecipeParseResults parseRecipe(String recipe)
                               throws UnknownRecipeException,
                                      Exception
Specified by:
parseRecipe in interface BundleServerPluginFacet
Throws:
UnknownRecipeException
Exception

processBundleDistributionFile

public BundleDistributionInfo processBundleDistributionFile(File distributionFile)
                                                     throws UnknownRecipeException,
                                                            Exception
Specified by:
processBundleDistributionFile in interface BundleServerPluginFacet
Throws:
UnknownRecipeException
Exception

invoke

public ControlResults invoke(String name,
                             Configuration parameters)
Specified by:
invoke in interface ControlFacet

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Red Hat, Inc.. All Rights Reserved.