@MessageBundle(projectCode="JBAS")
public interface AppClientMessages
| Type | Property and Description |
|---|---|
String |
argSystem
Instructions for
CommandLineConstants.SYS_PROP command line argument. |
| Modifier and Type | Field and Description |
|---|---|
static AppClientMessages |
MESSAGES
The default message bundle
|
| 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 |
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.
|
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.
|
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.
|
DeploymentUnitProcessingException |
couldNotCreateCallbackHandler(String clazz)
A message indicating the callback handler could not be instantiated
|
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. |
DeploymentUnitProcessingException |
exceptionLoadingEjbClientPropertiesURL(String file,
Throwable cause)
The ejb-client.properties could not be loaded
|
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. |
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.
|
@Message(id=0,
value="Set a system property")
String argSystemProperty
CommandLineConstants.SYS_PROP command line argument.static final AppClientMessages MESSAGES
@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=13220,
value="You must specify the application client to execute")
String appClientNotSpecified()
@Message(id=13221,
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=13222,
value="Could not find application client jar in deployment")
RuntimeException cannotFindAppClient()
RuntimeException for the error.@Message(id=13223,
value="Could not find application client %s")
DeploymentUnitProcessingException cannotFindAppClient(String deploymentName)
deploymentName, could
not be found.deploymentName - the name of the deployment.DeploymentUnitProcessingException for the error.@Message(id=13224,
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=13225,
value="Could not load component class")
DeploymentUnitProcessingException cannotLoadComponentClass(@Cause
Throwable cause)
cause - the cause of the error.DeploymentUnitProcessingException for the error.@Message(id=13226,
value="Unable to load properties from URL %s")
String cannotLoadProperties(URL url)
url - the url to the properties.@Message(id=13227,
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=13228,
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=13229,
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=13230,
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=13231,
value="Failed to parse %s")
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=13232,
value="Failed to parse %s at [%d,%d]")
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=13233,
value="Malformed URL provided for option %s")
String malformedUrl(String arg)
arg - the invalid argument.@Message(id=13234,
value="More than one application client found and no app client name specified")
RuntimeException multipleAppClientsFound()
RuntimeException for the error.@Message(id=13235,
value="Model contains multiple %s nodes")
IllegalStateException multipleNodesFound(String nodeName)
nodeName parameter.nodeName - the name of the node.IllegalStateException for the error.@Message(id=13236,
value="Unknown option %s")
String unknownOption(String option)
option - the unknown option.@Message(id=13237,
value="Could not load callback-handler class %s")
DeploymentUnitProcessingException couldNotLoadCallbackClass(String clazz)
@Message(id=13238,
value="Could not create instance of callback-handler class %s")
DeploymentUnitProcessingException couldNotCreateCallbackHandler(String clazz)
@Message(id=13239,
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=13240,
value="Cannot specify both a host to connect to and an ejb-client.properties file. ")
RuntimeException cannotSpecifyBothHostAndPropertiesFile()
@Message(id=13241,
value="Unable to load ejb-client.properties URL: %s ")
DeploymentUnitProcessingException exceptionLoadingEjbClientPropertiesURL(String file,
@Cause
Throwable cause)
Copyright © 2014 JBoss by Red Hat. All rights reserved.