Interface AppClientLogger

All Superinterfaces:
org.jboss.logging.BasicLogger
All Known Implementing Classes:
AppClientLogger_$logger

@MessageLogger(projectCode="WFLYAC", length=4) public interface AppClientLogger extends org.jboss.logging.BasicLogger
Author:
James R. Perkins, David M. Lloyd
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final AppClientLogger
    The root logger.
  • Method Summary

    Modifier and Type
    Method
    Description
    A message indicating that you must specify an application client to execute.
     
    Instructions for the CommandLineConstants.CONNECTION_PROPERTIES command line arguments.
    Instructions for the CommandLineConstants.HELP command line arguments.
    Instructions for the CommandLineConstants.HOST command line arguments.
    Instructions for the CommandLineConstants.PROPERTIES command line arguments.
    Instructions for CommandLineConstants.VERSION command line argument.
    Instructions for CommandLineConstants.SYS_PROP command line argument.
    A message indicating the argument, represented by the arg parameter, expected an additional argument.
    Instructions for CommandLineConstants.VERSION command line argument.
    Creates an exception indicating the application client could not be found to start.
    org.jboss.as.server.deployment.DeploymentUnitProcessingException
    cannotFindAppClient(String deploymentName)
    Creates an exception indicating that the application client, represented by the deploymentName, could not be found.
    cannotFindAppClientFile(File deploymentName)
    Creates an exception indicating that the application client, represented by the deploymentName, could not be found.
    Creates an exception indicating that the application client could not load the main class.
    A message indicating the properties could not be loaded from the URL.
     
    cannotStartAppClient(String deploymentName)
    Creates an exception indicating the app client could not start due to no main class being found.
    cannotStartAppClient(String deploymentName, Class<?> mainClass)
    Creates an exception indicating the app client could not start due to the main method missing on the main class.
    org.jboss.as.server.deployment.DeploymentUnitProcessingException
    A message indicating the callback handler could not be instantiated
    org.jboss.as.server.deployment.DeploymentUnitProcessingException
    A message indicating the callback handler could not be loaded
    Creates an exception indicating the subsystem declaration has been duplicated.
    void
    Logs an error message indicating there was an error running the app client.
    org.jboss.as.server.deployment.DeploymentUnitProcessingException
    failedToParseXml(Throwable cause, org.jboss.vfs.VirtualFile appXml)
    Creates an exception indicating a failure to parse the xml file represented by the appXml parameter.
    org.jboss.as.server.deployment.DeploymentUnitProcessingException
    failedToParseXml(Throwable cause, org.jboss.vfs.VirtualFile appXml, int lineNumber, int columnNumber)
    Creates an exception indicating a failure to parse the xml file represented by the appXml parameter.
    A message indicating the URL in the argument was malformed.
    Creates an exception indicating that more than one application client was found and not app client name was specified.
    A message indicating a known option.
    A general description of the appclient usage.

    Methods inherited from interface org.jboss.logging.BasicLogger

    debug, debug, debug, debug, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugf, debugv, debugv, debugv, debugv, debugv, debugv, debugv, debugv, error, error, error, error, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorf, errorv, errorv, errorv, errorv, errorv, errorv, errorv, errorv, fatal, fatal, fatal, fatal, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalf, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, fatalv, info, info, info, info, infof, infof, infof, infof, infof, infof, infof, infof, infov, infov, infov, infov, infov, infov, infov, infov, isDebugEnabled, isEnabled, isInfoEnabled, isTraceEnabled, log, log, log, log, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logf, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, logv, trace, trace, trace, trace, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracef, tracev, tracev, tracev, tracev, tracev, tracev, tracev, tracev, warn, warn, warn, warn, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnf, warnv, warnv, warnv, warnv, warnv, warnv, warnv, warnv
  • Field Details

  • Method Details

    • exceptionRunningAppClient

      @LogMessage(level=ERROR) @Message(id=2, value="%s running app client main") void exceptionRunningAppClient(@Cause Throwable cause, String exceptionName)
      Logs an error message indicating there was an error running the app client.
      Parameters:
      cause - the cause of the error.
      exceptionName - the exception name thrown.
    • argAppClientConfig

      @Message(id=0, value="Name of the app client configuration file to use (default is \"appclient.xml\")") String argAppClientConfig()
    • argHelp

      @Message(id=0, value="Display this message and exit") String argHelp()
      Instructions for the CommandLineConstants.HELP command line arguments.
      Returns:
      the instructions.
    • argHost

      @Message(id=0, value="Set the url of the application server instance to connect to") String argHost()
      Instructions for the CommandLineConstants.HOST command line arguments.
      Returns:
      the instructions.
    • argConnectionProperties

      @Message(id=0, value="Load ejb-client.properties file from the given url") String argConnectionProperties()
      Instructions for the CommandLineConstants.CONNECTION_PROPERTIES command line arguments.
      Returns:
      the instructions.
    • argProperties

      @Message(id=0, value="Load system properties from the given url") String argProperties()
      Instructions for the CommandLineConstants.PROPERTIES command line arguments.
      Returns:
      the instructions.
    • argSystemProperty

      @Message(id=0, value="Set a system property") String argSystemProperty()
      Instructions for CommandLineConstants.SYS_PROP command line argument.
      Returns:
      the instructions.
    • argVersion

      @Message(id=0, value="Print version and exit") String argVersion()
      Instructions for CommandLineConstants.VERSION command line argument.
      Returns:
      the instructions.
    • argSecMgr

      @Message(id=0, value="Runs the container with the security manager enabled.") String argSecMgr()
      Instructions for CommandLineConstants.VERSION command line argument.
      Returns:
      the instructions.
    • usageDescription

      @Message(id=0, value="The appclient script starts an application client which can be used to test and access the deployed Jakarta Enterprise Beans.") String usageDescription()
      A general description of the appclient usage.
      Returns:
      a String for the message.
    • appClientNotSpecified

      @Message(id=4, value="You must specify the application client to execute") String appClientNotSpecified()
      A message indicating that you must specify an application client to execute.
      Returns:
      the message.
    • argumentExpected

      @Message(id=5, value="Argument expected for option %s") String argumentExpected(String arg)
      A message indicating the argument, represented by the arg parameter, expected an additional argument.
      Parameters:
      arg - the argument that expects an additional argument.
      Returns:
      the message.
    • cannotFindAppClient

      @Message(id=6, value="Could not find application client jar in deployment") RuntimeException cannotFindAppClient()
      Creates an exception indicating the application client could not be found to start.
      Returns:
      an RuntimeException for the error.
    • cannotFindAppClient

      @Message(id=7, value="Could not find application client %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotFindAppClient(String deploymentName)
      Creates an exception indicating that the application client, represented by the deploymentName, could not be found.
      Parameters:
      deploymentName - the name of the deployment.
      Returns:
      a DeploymentUnitProcessingException for the error.
    • cannotLoadAppClientMainClass

      @Message(id=8, value="Could not load application client main class") RuntimeException cannotLoadAppClientMainClass(@Cause Throwable cause)
      Creates an exception indicating that the application client could not load the main class.
      Parameters:
      cause - the cause of the error.
      Returns:
      a RuntimeException for the error.
    • cannotLoadProperties

      @Message(id=10, value="Unable to load properties from URL %s") String cannotLoadProperties(URL url)
      A message indicating the properties could not be loaded from the URL.
      Parameters:
      url - the url to the properties.
      Returns:
      the message.
    • cannotStartAppClient

      @Message(id=11, value="Could not start app client %s as no main class was found") RuntimeException cannotStartAppClient(String deploymentName)
      Creates an exception indicating the app client could not start due to no main class being found.
      Parameters:
      deploymentName - the deployment name.
      Returns:
      a RuntimeException for the error.
    • cannotStartAppClient

      @Message(id=12, value="Could not start app client %s as no main method was found on main class %s") RuntimeException cannotStartAppClient(String deploymentName, Class<?> mainClass)
      Creates an exception indicating the app client could not start due to the main method missing on the main class.
      Parameters:
      deploymentName - the deployment name.
      mainClass - the main class defined.
      Returns:
      a RuntimeException for the error.
    • duplicateSubsystemDeclaration

      @Message(id=13, value="Duplicate subsystem declaration") XMLStreamException duplicateSubsystemDeclaration(@Param Location location)
      Creates an exception indicating the subsystem declaration has been duplicated.
      Parameters:
      location - the location of the error for the constructor of th exception.
      Returns:
      a XMLStreamException for the error.
    • failedToParseXml

      @Message(id=15, value="Failed to parse %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToParseXml(@Cause Throwable cause, org.jboss.vfs.VirtualFile appXml)
      Creates an exception indicating a failure to parse the xml file represented by the appXml parameter.
      Parameters:
      cause - the cause of the error.
      appXml - the file that failed to be parsed.
      Returns:
      a DeploymentUnitProcessingException for the error.
    • failedToParseXml

      @Message(id=16, value="Failed to parse %s at [%d,%d]") org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToParseXml(@Cause Throwable cause, org.jboss.vfs.VirtualFile appXml, int lineNumber, int columnNumber)
      Creates an exception indicating a failure to parse the xml file represented by the appXml parameter.
      Parameters:
      appXml - the file that failed to be parsed.
      lineNumber - the line the failure occurred on.
      columnNumber - the column the failure occurred on.
      Returns:
      a DeploymentUnitProcessingException for the error.
    • malformedUrl

      @Message(id=17, value="Malformed URL provided for option %s") String malformedUrl(String arg)
      A message indicating the URL in the argument was malformed.
      Parameters:
      arg - the invalid argument.
      Returns:
      the message.
    • multipleAppClientsFound

      @Message(id=18, value="More than one application client found and no app client name specified") RuntimeException multipleAppClientsFound()
      Creates an exception indicating that more than one application client was found and not app client name was specified.
      Returns:
      a RuntimeException for the error.
    • unknownOption

      @Message(id=20, value="Unknown option %s") String unknownOption(String option)
      A message indicating a known option.
      Parameters:
      option - the unknown option.
      Returns:
      the message.
    • couldNotLoadCallbackClass

      @Message(id=21, value="Could not load callback-handler class %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException couldNotLoadCallbackClass(String clazz)
      A message indicating the callback handler could not be loaded
    • couldNotCreateCallbackHandler

      @Message(id=22, value="Could not create instance of callback-handler class %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException couldNotCreateCallbackHandler(String clazz)
      A message indicating the callback handler could not be instantiated
    • cannotFindAppClientFile

      @Message(id=23, value="Could not find application client %s") RuntimeException cannotFindAppClientFile(File deploymentName)
      Creates an exception indicating that the application client, represented by the deploymentName, could not be found.
      Parameters:
      deploymentName - the name of the deployment.
      Returns:
      a RuntimeException for the error.
    • cannotSpecifyBothHostAndPropertiesFile

      @Message(id=24, value="Cannot specify both a host to connect to and an ejb-client.properties file. ") RuntimeException cannotSpecifyBothHostAndPropertiesFile()