@MessageLogger(projectCode="WFLYAC",
length=4)
public interface AppClientLogger
extends org.jboss.logging.BasicLogger
Modifier and Type | Field and Description |
---|---|
static AppClientLogger |
ROOT_LOGGER
The root logger.
|
Modifier and Type | Method and Description |
---|---|
String |
appClientNotSpecified()
A message indicating that you must specify an application client to execute.
|
String |
argAppClientConfig() |
String |
argConnectionProperties()
Instructions for the
CommandLineConstants.CONNECTION_PROPERTIES command line
arguments. |
String |
argHelp()
Instructions for the
CommandLineConstants.HELP command line arguments. |
String |
argHost()
Instructions for the
CommandLineConstants.HOST command line arguments. |
String |
argProperties()
Instructions for the
CommandLineConstants.PROPERTIES command line
arguments. |
String |
argSecMgr()
Instructions for
CommandLineConstants.VERSION command line argument. |
String |
argSystemProperty()
Instructions for
CommandLineConstants.SYS_PROP command line argument. |
String |
argumentExpected(String arg)
A message indicating the argument, represented by the
arg parameter, expected an additional argument. |
String |
argUsage()
Instructions for the usage of the command line arguments instructions.
|
String |
argVersion()
Instructions for
CommandLineConstants.VERSION command line argument. |
RuntimeException |
cannotFindAppClient()
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. |
RuntimeException |
cannotFindAppClientFile(File deploymentName)
Creates an exception indicating that the application client, represented by the
deploymentName , could
not be found. |
RuntimeException |
cannotLoadAppClientMainClass(Throwable cause)
Creates an exception indicating that the application client could not load the main class.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
cannotLoadComponentClass(Throwable cause)
Creates an exception indicating the component class could not be loaded.
|
String |
cannotLoadProperties(URL url)
A message indicating the properties could not be loaded from the URL.
|
RuntimeException |
cannotSpecifyBothHostAndPropertiesFile() |
RuntimeException |
cannotStartAppClient(String deploymentName)
Creates an exception indicating the app client could not start due to no main class being found.
|
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.
|
void |
caughtException(Throwable cause,
Throwable t)
Logs a generic error message using the
t.toString() for the error message. |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
couldNotCreateCallbackHandler(String clazz)
A message indicating the callback handler could not be instantiated
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
couldNotLoadCallbackClass(String clazz)
A message indicating the callback handler could not be loaded
|
XMLStreamException |
duplicateSubsystemDeclaration(Location location)
Creates an exception indicating the subsystem declaration has been duplicated.
|
XMLStreamException |
elementAlreadyDeclared(String elementName,
Object value,
Location location)
Creates an exception indicating the element, represented by the
elementName parameter, has already been
declared. |
void |
exceptionClosingConnection(Throwable cause) |
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
exceptionLoadingEjbClientPropertiesURL(String file,
Throwable cause)
The ejb-client.properties could not be loaded
|
void |
exceptionRunningAppClient(Throwable cause,
String exceptionName)
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. |
String |
malformedUrl(String arg)
A message indicating the URL in the argument was malformed.
|
RuntimeException |
multipleAppClientsFound()
Creates an exception indicating that more than one application client was found and not app client name was
specified.
|
IllegalStateException |
multipleNodesFound(String nodeName)
Creates an exception indicating the model contains multiple nodes represented by the
nodeName parameter. |
String |
unknownOption(String option)
A message indicating a known option.
|
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
static final AppClientLogger ROOT_LOGGER
@LogMessage(level=ERROR) @Message(id=1, value="%s") void caughtException(@Cause Throwable cause, Throwable t)
t.toString()
for the error message.cause
- the cause of the error.t
- the cause to use for the log message.@LogMessage(level=ERROR) @Message(id=2, value="%s running app client main") void exceptionRunningAppClient(@Cause Throwable cause, String exceptionName)
cause
- the cause of the error.exceptionName
- the exception name thrown.@LogMessage(level=ERROR) @Message(id=3, value="Error closing connection") void exceptionClosingConnection(@Cause Throwable cause)
cause
- the cause of the error.@Message(id=0, value="Name of the app client configuration file to use (default is \"appclient.xml\")") String argAppClientConfig()
@Message(id=0, value="Display this message and exit") String argHelp()
CommandLineConstants.HELP
command line arguments.@Message(id=0, value="Set the url of the application server instance to connect to") String argHost()
CommandLineConstants.HOST
command line arguments.@Message(id=0, value="Load ejb-client.properties file from the given url") String argConnectionProperties()
CommandLineConstants.CONNECTION_PROPERTIES
command line
arguments.@Message(id=0, value="Load system properties from the given url") String argProperties()
CommandLineConstants.PROPERTIES
command line
arguments.@Message(id=0, value="Set a system property") String argSystemProperty()
CommandLineConstants.SYS_PROP
command line argument.@Message(id=0, value="Usage: ./appclient.sh [args...] myear.ear#appClient.jar [client args...]%n%nwhere args include:%n") String argUsage()
@Message(id=0, value="Print version and exit") String argVersion()
CommandLineConstants.VERSION
command line argument.@Message(id=0, value="Runs the container with the security manager enabled.") String argSecMgr()
CommandLineConstants.VERSION
command line argument.@Message(id=4, value="You must specify the application client to execute") String appClientNotSpecified()
@Message(id=5, value="Argument expected for option %s") String argumentExpected(String arg)
arg
parameter, expected an additional argument.arg
- the argument that expects an additional argument.@Message(id=6, value="Could not find application client jar in deployment") RuntimeException cannotFindAppClient()
RuntimeException
for the error.@Message(id=7, value="Could not find application client %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotFindAppClient(String deploymentName)
deploymentName
, could
not be found.deploymentName
- the name of the deployment.DeploymentUnitProcessingException
for the error.@Message(id=8, value="Could not load application client main class") RuntimeException cannotLoadAppClientMainClass(@Cause Throwable cause)
cause
- the cause of the error.RuntimeException
for the error.@Message(id=9, value="Could not load component class") org.jboss.as.server.deployment.DeploymentUnitProcessingException cannotLoadComponentClass(@Cause Throwable cause)
cause
- the cause of the error.DeploymentUnitProcessingException
for the error.@Message(id=10, value="Unable to load properties from URL %s") String cannotLoadProperties(URL url)
url
- the url to the properties.@Message(id=11, value="Could not start app client %s as no main class was found") RuntimeException cannotStartAppClient(String deploymentName)
deploymentName
- the deployment name.RuntimeException
for the error.@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)
deploymentName
- the deployment name.mainClass
- the main class defined.RuntimeException
for the error.@Message(id=13, value="Duplicate subsystem declaration") XMLStreamException duplicateSubsystemDeclaration(@Param Location location)
location
- the location of the error for the constructor of th exception.XMLStreamException
for the error.@Message(id=14, value="%s %s already declared") XMLStreamException elementAlreadyDeclared(String elementName, Object value, @Param Location location)
elementName
parameter, has already been
declared.elementName
- the element name.value
- the value.location
- the location used in the constructor of the exception.XMLStreamException
for the error.@Message(id=15, value="Failed to parse %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException failedToParseXml(@Cause Throwable cause, org.jboss.vfs.VirtualFile appXml)
appXml
parameter.cause
- the cause of the error.appXml
- the file that failed to be parsed.DeploymentUnitProcessingException
for the error.@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)
appXml
parameter.appXml
- the file that failed to be parsed.lineNumber
- the line the failure occurred on.columnNumber
- the column the failure occurred on.DeploymentUnitProcessingException
for the error.@Message(id=17, value="Malformed URL provided for option %s") String malformedUrl(String arg)
arg
- the invalid argument.@Message(id=18, value="More than one application client found and no app client name specified") RuntimeException multipleAppClientsFound()
RuntimeException
for the error.@Message(id=19, value="Model contains multiple %s nodes") IllegalStateException multipleNodesFound(String nodeName)
nodeName
parameter.nodeName
- the name of the node.IllegalStateException
for the error.@Message(id=20, value="Unknown option %s") String unknownOption(String option)
option
- the unknown option.@Message(id=21, value="Could not load callback-handler class %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException couldNotLoadCallbackClass(String clazz)
@Message(id=22, value="Could not create instance of callback-handler class %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException couldNotCreateCallbackHandler(String clazz)
@Message(id=23, value="Could find application client %s") RuntimeException cannotFindAppClientFile(File deploymentName)
deploymentName
, could
not be found.deploymentName
- the name of the deployment.RuntimeException
for the error.@Message(id=24, value="Cannot specify both a host to connect to and an ejb-client.properties file. ") RuntimeException cannotSpecifyBothHostAndPropertiesFile()
Copyright © 2017 JBoss by Red Hat. All rights reserved.