org.ow2.petals.plugin.jbiplugin
Class JBIAbstractJMXMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo
          extended by org.ow2.petals.plugin.jbiplugin.JBIAbstractJMXMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
JBIInstallMojo, JBIStartMojo, JBIStopMojo

public abstract class JBIAbstractJMXMojo
extends JBIAbstractMojo

This class is used to give the main configuration parameters of all JBI goals

Author:
cdeneux - Capgemini Sud

Field Summary
protected  java.lang.Boolean force
          Flag to force the goal processing, if needed.
protected  java.lang.String host
          Hostname of the Petals server
protected  java.util.logging.Logger log
           
protected  java.lang.String password
          Password of the Petals JMX server username
protected  java.lang.Integer port
          JMX Port of the Petals server
protected  java.lang.String username
          JMX username of the Petals server
 
Fields inherited from class org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo
artifactFactory, artifactResolver, jbiDirectory, jbiName, localRepository, mavenProjectBuilder, outputDirectory, packaging, PACKAGING_COMPONENT, PACKAGING_SA, PACKAGING_SL, PACKAGING_SU, project, projectArtifact, settingsBuilder, verbose
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
JBIAbstractJMXMojo()
           
 
Method Summary
protected  java.lang.String getComponentNameFromJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
          Read component information from the parsed JBI descriptor
protected  java.util.List<java.lang.String> getComponentsFromServiceAssemblyJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
          Retreive all components declared in the service assembly JBI Descriptor
protected  java.lang.String getServiceAssemblyNameFromJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
          Read service assembly information from the parsed JBI descriptor.
protected  java.util.List<java.lang.String> getSharedLibrariesFromComponentJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDEscriptor)
          Retreive all shared-libraries declared in a component JBI Descriptor
protected  java.lang.String getSharedLibraryNameFromJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
          Read shared-library information from the parsed JBI descriptor.
 
Methods inherited from class org.ow2.petals.plugin.jbiplugin.JBIAbstractMojo
attachedJBIArchive, buildProjectFromArtifact, createDependencyArtifact, debug, error, error, execute, executeMojo, getSharedLibraries, info, packagingIsOkForGoal, readJbiDescriptor, warn
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

host

protected java.lang.String host
Hostname of the Petals server


port

protected java.lang.Integer port
JMX Port of the Petals server


username

protected java.lang.String username
JMX username of the Petals server


password

protected java.lang.String password
Password of the Petals JMX server username


force

protected java.lang.Boolean force
Flag to force the goal processing, if needed.


log

protected java.util.logging.Logger log
Constructor Detail

JBIAbstractJMXMojo

public JBIAbstractJMXMojo()
Method Detail

getComponentNameFromJBIDescriptor

protected java.lang.String getComponentNameFromJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
                                                      throws org.apache.maven.plugin.MojoExecutionException
Read component information from the parsed JBI descriptor

Throws:
org.apache.maven.plugin.MojoExecutionException

getServiceAssemblyNameFromJBIDescriptor

protected java.lang.String getServiceAssemblyNameFromJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
                                                            throws org.apache.maven.plugin.MojoExecutionException
Read service assembly information from the parsed JBI descriptor.

Throws:
org.apache.maven.plugin.MojoExecutionException

getSharedLibraryNameFromJBIDescriptor

protected java.lang.String getSharedLibraryNameFromJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
                                                          throws org.apache.maven.plugin.MojoExecutionException
Read shared-library information from the parsed JBI descriptor.

Throws:
org.apache.maven.plugin.MojoExecutionException

getComponentsFromServiceAssemblyJBIDescriptor

protected java.util.List<java.lang.String> getComponentsFromServiceAssemblyJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDescriptor)
                                                                                  throws org.apache.maven.plugin.MojoExecutionException
Retreive all components declared in the service assembly JBI Descriptor

Throws:
org.apache.maven.plugin.MojoExecutionException

getSharedLibrariesFromComponentJBIDescriptor

protected java.util.List<java.lang.String> getSharedLibrariesFromComponentJBIDescriptor(org.ow2.petals.jbi.descriptor.original.generated.Jbi jbiDEscriptor)
                                                                                 throws org.apache.maven.plugin.MojoExecutionException
Retreive all shared-libraries declared in a component JBI Descriptor

Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2005-2011 Petals Link (EBM Websourcing). All Rights Reserved.