Class AbstractServerConnection

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.wildfly.plugin.common.AbstractServerConnection
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
AbstractStartMojo, AddResourceMojo, DeployArtifactMojo, DeployMojo, ExecuteCommandsMojo, RedeployMojo, ShutdownMojo, UndeployArtifactMojo, UndeployMojo

public abstract class AbstractServerConnection extends org.apache.maven.plugin.AbstractMojo
The default implementation for connecting to a running WildFly instance
Author:
James R. Perkins, Stuart Douglas
  • Field Details Link icon

    • DEBUG_MESSAGE_NO_CREDS Link icon

      public static final String DEBUG_MESSAGE_NO_CREDS
      See Also:
    • DEBUG_MESSAGE_NO_ID Link icon

      public static final String DEBUG_MESSAGE_NO_ID
      See Also:
    • DEBUG_MESSAGE_NO_SERVER_SECTION Link icon

      public static final String DEBUG_MESSAGE_NO_SERVER_SECTION
      See Also:
    • DEBUG_MESSAGE_NO_SETTINGS_FILE Link icon

      public static final String DEBUG_MESSAGE_NO_SETTINGS_FILE
      See Also:
    • DEBUG_MESSAGE_POM_HAS_CREDS Link icon

      public static final String DEBUG_MESSAGE_POM_HAS_CREDS
      See Also:
    • DEBUG_MESSAGE_SETTINGS_HAS_CREDS Link icon

      public static final String DEBUG_MESSAGE_SETTINGS_HAS_CREDS
      See Also:
    • DEBUG_MESSAGE_SETTINGS_HAS_ID Link icon

      public static final String DEBUG_MESSAGE_SETTINGS_HAS_ID
      See Also:
    • timeout Link icon

      @Parameter(property="wildfly.timeout", defaultValue="60") protected int timeout
      The timeout, in seconds, to wait for a management connection.
  • Constructor Details Link icon

    • AbstractServerConnection Link icon

      public AbstractServerConnection()
  • Method Details Link icon

    • goal Link icon

      public abstract String goal()
      The goal of the deployment.
      Returns:
      the goal of the deployment.
    • createClient Link icon

      protected org.jboss.as.controller.client.ModelControllerClient createClient()
      Creates a new client.
      Returns:
      the client
    • getClientConfiguration Link icon

      protected org.jboss.as.controller.client.ModelControllerClientConfiguration getClientConfiguration()
      Gets a client configuration used to create a new ModelControllerClient.
      Returns:
      the configuration to use
    • getManagementPort Link icon

      protected int getManagementPort()
    • getManagementHostName Link icon

      protected String getManagementHostName()