Package org.jboss.as.appclient.logging
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 -
Method Summary
Modifier and TypeMethodDescriptionA message indicating that you must specify an application client to execute.Instructions for theCommandLineConstants.CONNECTION_PROPERTIEScommand line arguments.argHelp()Instructions for theCommandLineConstants.HELPcommand line arguments.argHost()Instructions for theCommandLineConstants.HOSTcommand line arguments.Instructions for theCommandLineConstants.PROPERTIEScommand line arguments.Instructions forCommandLineConstants.VERSIONcommand line argument.Instructions forCommandLineConstants.SYS_PROPcommand line argument.argumentExpected(String arg) A message indicating the argument, represented by theargparameter, expected an additional argument.Instructions forCommandLineConstants.VERSIONcommand line argument.Creates an exception indicating the application client could not be found to start.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncannotFindAppClient(String deploymentName) Creates an exception indicating that the application client, represented by thedeploymentName, could not be found.cannotFindAppClientFile(File deploymentName) Creates an exception indicating that the application client, represented by thedeploymentName, could not be found.Creates an exception indicating that the application client could not load the main class.cannotLoadProperties(URL url) 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.DeploymentUnitProcessingExceptionA message indicating the callback handler could not be instantiatedorg.jboss.as.server.deployment.DeploymentUnitProcessingExceptioncouldNotLoadCallbackClass(String clazz) A message indicating the callback handler could not be loadedduplicateSubsystemDeclaration(Location location) Creates an exception indicating the subsystem declaration has been duplicated.voidexceptionRunningAppClient(Throwable cause, String exceptionName) Logs an error message indicating there was an error running the app client.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToParseXml(Throwable cause, org.jboss.vfs.VirtualFile appXml) Creates an exception indicating a failure to parse the xml file represented by theappXmlparameter.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionfailedToParseXml(Throwable cause, org.jboss.vfs.VirtualFile appXml, int lineNumber, int columnNumber) Creates an exception indicating a failure to parse the xml file represented by theappXmlparameter.malformedUrl(String arg) 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.unknownOption(String option) 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
-
ROOT_LOGGER
The root logger.
-
-
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
Instructions for theCommandLineConstants.HELPcommand 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 theCommandLineConstants.HOSTcommand line arguments.- Returns:
- the instructions.
-
argConnectionProperties
@Message(id=0, value="Load ejb-client.properties file from the given url") String argConnectionProperties()Instructions for theCommandLineConstants.CONNECTION_PROPERTIEScommand line arguments.- Returns:
- the instructions.
-
argProperties
Instructions for theCommandLineConstants.PROPERTIEScommand line arguments.- Returns:
- the instructions.
-
argSystemProperty
Instructions forCommandLineConstants.SYS_PROPcommand line argument.- Returns:
- the instructions.
-
argVersion
Instructions forCommandLineConstants.VERSIONcommand line argument.- Returns:
- the instructions.
-
argSecMgr
Instructions forCommandLineConstants.VERSIONcommand 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
Stringfor 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
A message indicating the argument, represented by theargparameter, 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
RuntimeExceptionfor 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 thedeploymentName, could not be found.- Parameters:
deploymentName- the name of the deployment.- Returns:
- a
DeploymentUnitProcessingExceptionfor 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
RuntimeExceptionfor the error.
-
cannotLoadProperties
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
RuntimeExceptionfor 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
RuntimeExceptionfor 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
XMLStreamExceptionfor 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 theappXmlparameter.- Parameters:
cause- the cause of the error.appXml- the file that failed to be parsed.- Returns:
- a
DeploymentUnitProcessingExceptionfor 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 theappXmlparameter.- 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
DeploymentUnitProcessingExceptionfor the error.
-
malformedUrl
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
RuntimeExceptionfor the error.
-
unknownOption
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 thedeploymentName, could not be found.- Parameters:
deploymentName- the name of the deployment.- Returns:
- a
RuntimeExceptionfor the error.
-
cannotSpecifyBothHostAndPropertiesFile
@Message(id=24, value="Cannot specify both a host to connect to and an ejb-client.properties file. ") RuntimeException cannotSpecifyBothHostAndPropertiesFile()
-