@MessageBundle(projectCode="JBAS")
public interface NamingMessages
| Modifier and Type | Field and Description |
|---|---|
static NamingMessages |
MESSAGES
The default messages.
|
| Modifier and Type | Method and Description |
|---|---|
OperationFailedException |
bindingTypeRequiresAttributeDefined(BindingType bindingType,
String attributeName)
Creates an exception indicating that a required attribute is not defined.
|
OperationFailedException |
cacheNotValidForBindingType(BindingType type) |
SecurityException |
cannotAddToReadOnlyPermissionCollection()
Creates an exception indicating you cannot add a
Permission to a read-only
PermissionCollection. |
String |
cannotBeNull(String name)
A message indicating the
name cannot be null. |
NamingException |
cannotDeferenceObject(Throwable cause)
Creates an exception indicating the object dereference to the object failed.
|
NamingException |
cannotListNonContextBinding()
Creates an exception indicating the inability to list a non-context binding.
|
String |
cannotLookupLink()
A message indicating the link could not be looked up.
|
IllegalStateException |
cannotObtain(Throwable cause,
String name)
Creates an exception indicating the
name could not be obtained. |
NamingException |
cannotResolveService(org.jboss.msc.service.ServiceName serviceName)
Creates an exception indicating the service name could not be resolved.
|
NamingException |
cannotResolveService(org.jboss.msc.service.ServiceName serviceName,
String className,
String state)
Creates an exception indicating the service name could not be resolved.
|
NamingException |
cannotResolveServiceBug(org.jboss.msc.service.ServiceName serviceName,
String className,
String state)
Creates an exception indicating the service name could not be resolved and here is a bug.
|
OperationFailedException |
couldNotInstantiateClassInstanceFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
Creates an exception indicating that a class instance could not be instantiate, from the specified module.
|
OperationFailedException |
couldNotLoadClassFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
Creates an exception indicating that a class could not be loaded from a module.
|
OperationFailedException |
couldNotLoadModule(org.jboss.modules.ModuleIdentifier moduleID)
Creates an exception indicating that a module could not be loaded.
|
String |
duplicateBinding(JndiName jndiName,
Object existing,
Object value)
A message indicating duplicate JNDI bindings were found.
|
InvalidNameException |
emptyNameNotAllowed()
Creates an exception indicating an empty name is not allowed.
|
IllegalStateException |
entryNotRegistered(Throwable cause,
String contextName,
Context context)
Creates an exception indicating the JNDI entry is not yet registered in the context.
|
IllegalStateException |
failedToDestroyRootContext(Throwable cause)
Creates an exception indicating a failure to destroy the root context.
|
NamingException |
failedToInstantiate(Throwable cause,
String description,
String className,
ClassLoader classLoader)
Creates an exception indicating the
className could not be instantiated from the classLoader. |
String |
failedToReadContextEntries(String bindingName)
A message indicating the context entries could not be read from the binding name represented by the
bindingName parameter. |
String |
failedToStart(String name)
A message indicating a failure to start the
name service. |
String |
failedToTransformExternalContext(String modelVersion)
An external context binding add operation was failed by the operation transformer.
|
String |
failedToTransformObjectFactoryWithEnvironmentNameBindingAddOperation(String modelVersion)
A "Object Factory With Environment" binding add operation was failed by the operation transformer.
|
String |
failedToTransformSimpleURLNameBindingAddOperation(String modelVersion)
A "simple URL" binding add operation was failed by the operation transformer.
|
RuntimeException |
illegalContextInName(String jndiName)
Creates an exception indicating there was an illegal context in the name.
|
IllegalArgumentException |
invalidActionMask()
Creates an exception indicating the actions mask is invalid.
|
NamingException |
invalidContextReference(String referenceName)
Creates an exception indicating the context reference is invalid.
|
IllegalArgumentException |
invalidJndiName(String jndiName)
Creates an exception indicating the JNDI name is invalid.
|
IllegalArgumentException |
invalidLoadFactor()
Creates an exception indicating the load factor must be greater than 0 and less then or equal 1.
|
DeploymentUnitProcessingException |
invalidNameForContextBinding(String name) |
OperationFailedException |
invalidNamespaceForBinding(String name,
String namespaces) |
IllegalArgumentException |
invalidPermission(Permission permission)
Creates an exception indicating the permission is invalid.
|
IllegalArgumentException |
invalidPermissionAction(String permissionAction)
Creates an exception indicating the permission actions is unknown.
|
IllegalArgumentException |
invalidTableSize()
Creates an exception indicating the table size cannot be negative.
|
String |
jndiViewNotAvailable()
A message indicating that JNDI view is only available in runtime mode.
|
NamingException |
lookupError(String name)
Creates an exception indicating a lookup failure.
|
NameNotFoundException |
nameNotFoundInContext(String name,
Name contextName)
Creates an exception indicating the name could not be found in the context.
|
IllegalStateException |
noBindingsAvailable()
Creates an exception indicating there is nothing available to bind to.
|
OperationFailedException |
notAnInstanceOfObjectFactory(String className,
org.jboss.modules.ModuleIdentifier moduleID)
Creates an exception indicating that a class is not an
ObjectFactory instance, from the specified module. |
IllegalArgumentException |
nullVar(String varName)
Creates an exception indicating the variable is
null. |
NamingException |
objectFactoryCreationFailure(Throwable cause)
Creates an exception indicating the object factory failed to create from the classloader.
|
UnsupportedOperationException |
readOnlyNamingContext()
Creates an exception indicating the naming context is read-only.
|
RuntimeException |
resourceLookupForInjectionFailed(String jndiName,
Throwable cause)
Creates an exception indicating a lookup failed, wrt
Resource injection. |
IllegalArgumentException |
serviceAlreadyBound(org.jboss.msc.service.ServiceName serviceName)
Creates an exception indicating the service name has already been bound.
|
IllegalStateException |
serviceNotStarted(org.jboss.msc.service.ServiceName serviceName)
Indicates that a service is not started as expected.
|
IllegalStateException |
tableIsFull()
Creates an exception indicating the table is full.
|
NamingException |
threadInterrupt(org.jboss.msc.service.ServiceName serviceName)
Creates an exception indicating the thread was interrupted while retrieving the service.
|
OperationFailedException |
unableToTransformURLBindingValue(String value,
Throwable cause)
Creates an exception indicating that the string value for the simple URL binding failed to transform.
|
OperationFailedException |
unknownBindingType(String type)
Creates an exception indicating that the type for the binding to add is not known.
|
OperationFailedException |
unsupportedSimpleBindingType(String type)
Creates an exception indicating that the type for the simple binding to add is not supported.
|
static final NamingMessages MESSAGES
@Message(id=11830,
value="Attempt to add a Permission to a readonly PermissionCollection")
SecurityException cannotAddToReadOnlyPermissionCollection()
Permission to a read-only
PermissionCollection.SecurityException for the error.@Message(id=11831,
value="%s cannot be null.")
String cannotBeNull(String name)
name cannot be null.name - the name.@Message(id=11832,
value="Could not dereference object")
NamingException cannotDeferenceObject(@Cause
Throwable cause)
cause - the cause of the error.NamingException for the error.@Message(id=11833,
value="Unable to list a non Context binding.")
NamingException cannotListNonContextBinding()
NamingException for the error.@Message(id=11834,
value="Could not lookup link")
String cannotLookupLink()
@Message(id=11835,
value="Cannot obtain %s")
IllegalStateException cannotObtain(@Cause
Throwable cause,
String name)
name could not be obtained.cause - the cause of the error.name - the name of the object.IllegalStateException for the error.@Message(id=11836,
value="Could not resolve service %s")
NamingException cannotResolveService(org.jboss.msc.service.ServiceName serviceName)
serviceName - the service name.NamingException for the error.@Message(id=11837,
value="Could not resolve service reference to %s in factory %s. Service was in state %s.")
NamingException cannotResolveService(org.jboss.msc.service.ServiceName serviceName,
String className,
String state)
serviceName - the service name.className - the factory class name.state - the state of the service.NamingException for the error.@Message(id=11838,
value="Could not resolve service reference to %s in factory %s. This is a bug in ServiceReferenceObjectFactory. State was %s.")
NamingException cannotResolveServiceBug(org.jboss.msc.service.ServiceName serviceName,
String className,
String state)
serviceName - the service name.className - the factory class name.state - the state of the service.NamingException for the error.@Message(id=11839,
value="Duplicate JNDI bindings for \'%s\' are not compatible. [%s] != [%s]")
String duplicateBinding(JndiName jndiName,
Object existing,
Object value)
jndiName - the JNDI name.existing - the existing object.value - the new object.@Message(id=11840,
value="An empty name is not allowed")
InvalidNameException emptyNameNotAllowed()
InvalidNameException for the error.@Message(id=11841,
value="Jndi entry \'%s\' is not yet registered in context \'%s\'")
IllegalStateException entryNotRegistered(@Cause
Throwable cause,
String contextName,
Context context)
cause - the cause of the error.contextName - the context name.context - the context.IllegalStateException for the error.@Message(id=11842,
value="Failed to destroy root context")
IllegalStateException failedToDestroyRootContext(@Cause
Throwable cause)
cause - the cause of the failure.IllegalStateException for the error.@Message(id=11843,
value="Failed instantiate %s %s from classloader %s")
NamingException failedToInstantiate(@Cause
Throwable cause,
String description,
String className,
ClassLoader classLoader)
className could not be instantiated from the classLoader.description - a description.className - the class name.classLoader - the class loaderNamingException for the error.@Message(id=11844,
value="Failed to read %s context entries.")
String failedToReadContextEntries(String bindingName)
bindingName parameter.bindingName - the binding name parameter.@Message(id=11845,
value="Failed to start %s")
String failedToStart(String name)
name service.name - the name of the service.@Message(id=11846,
value="Illegal context in name: %s")
RuntimeException illegalContextInName(String jndiName)
jndiName - the JNDI name.RuntimeException for the error.@Message(id=11847,
value="invalid actions mask")
IllegalArgumentException invalidActionMask()
IllegalArgumentException for the error.@Message(id=11848,
value="Invalid context reference. Not a \'%s\' reference.")
NamingException invalidContextReference(String referenceName)
referenceName - the reference name.NamingException for the error.@Message(id=11849,
value="A valid JNDI name must be provided: %s")
IllegalArgumentException invalidJndiName(String jndiName)
jndiName - the invalid JNDI name.IllegalArgumentException for the error.@Message(id=11850,
value="Load factor must be greater than 0 and less than or equal to 1")
IllegalArgumentException invalidLoadFactor()
IllegalArgumentException for the error.@Message(id=11851,
value="invalid permission, unknown action: %s")
IllegalArgumentException invalidPermission(Permission permission)
permission - the permission.IllegalArgumentException for the error.@Message(id=11852,
value="invalid permission, unknown action: %s")
IllegalArgumentException invalidPermissionAction(String permissionAction)
permissionAction - the permission action.IllegalArgumentException for the error.@Message(id=11853,
value="Can not have a negative size table!")
IllegalArgumentException invalidTableSize()
IllegalArgumentException for the error.@Message(id=11854,
value="Jndi view is only available in runtime mode.")
String jndiViewNotAvailable()
@Message(id=11855,
value="Name \'%s\' not found in context \'%s\'")
NameNotFoundException nameNotFoundInContext(String name,
Name contextName)
name - the name that could not be found.contextName - the context name.NameNotFoundException for the error.@Message(id=11856,
value="Nothing available to bind to.")
IllegalStateException noBindingsAvailable()
IllegalStateException for the error.@Message(id=11857,
value="%s is null")
IllegalArgumentException nullVar(String varName)
null.varName - the variable name.IllegalArgumentException for the error.@Message(id=11858,
value="Failed to create object factory from classloader.")
NamingException objectFactoryCreationFailure(@Cause
Throwable cause)
cause - the cause of the failure.NamingException for the error.@Message(id=11859,
value="Naming context is read-only")
UnsupportedOperationException readOnlyNamingContext()
UnsupportedOperationException for the error.@Message(id=11860,
value="Service with name [%s] already bound.")
IllegalArgumentException serviceAlreadyBound(org.jboss.msc.service.ServiceName serviceName)
serviceName - the service name.IllegalArgumentException for the error.@Message(id=11861,
value="Table is full!")
IllegalStateException tableIsFull()
IllegalArgumentException for the error.@Message(id=11862,
value="Thread interrupted while retrieving service reference for service %s")
NamingException threadInterrupt(org.jboss.msc.service.ServiceName serviceName)
serviceName - the service name.NamingException for the error.@Message(id=11863,
value="Invalid name for context binding %s")
DeploymentUnitProcessingException invalidNameForContextBinding(String name)
@Message(id=11864,
value="Invalid binding name %s, name must start with one of %s")
OperationFailedException invalidNamespaceForBinding(String name,
String namespaces)
@Message(id=11865,
value="Unknown binding type %s")
OperationFailedException unknownBindingType(String type)
type - the unknown type@Message(id=11866,
value="Unsupported simple binding type %s")
OperationFailedException unsupportedSimpleBindingType(String type)
type - the unsupported type@Message(id=11867,
value="Unable to transform URL binding value %s")
OperationFailedException unableToTransformURLBindingValue(String value,
@Cause
Throwable cause)
value - the URL value as stringcause - the original cause of failure@Message(id=11868,
value="Could not load module %s")
OperationFailedException couldNotLoadModule(org.jboss.modules.ModuleIdentifier moduleID)
moduleID - the module not loaded@Message(id=11869,
value="Could not load class %s from module %s")
OperationFailedException couldNotLoadClassFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
className - the name of the class not loadedmoduleID - the module@Message(id=11870,
value="Could not instantiate instance of class %s from module %s")
OperationFailedException couldNotInstantiateClassInstanceFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
className - the name of the class not loadedmoduleID - the module@Message(id=11871,
value="Class %s from module %s is not an instance of ObjectFactory")
OperationFailedException notAnInstanceOfObjectFactory(String className,
org.jboss.modules.ModuleIdentifier moduleID)
ObjectFactory instance, from the specified module.className - the name of the classmoduleID - the module id@Message(id=11872,
value="Binding add operation for Simple URL not supported in Naming Subsystem model version %s")
String failedToTransformSimpleURLNameBindingAddOperation(String modelVersion)
modelVersion - the model version related with the transformer.@Message(id=11873,
value="Binding add operation for Object Factory With Environment not supported in Naming Subsystem model version %s")
String failedToTransformObjectFactoryWithEnvironmentNameBindingAddOperation(String modelVersion)
modelVersion - the model version related with the transformer.@Message(id=11874,
value="Binding add operation for external context not supported in Naming Subsystem model version %s")
String failedToTransformExternalContext(String modelVersion)
modelVersion - the model version related with the transformer.@Message(id=11875,
value="Resource lookup for injection failed: %s")
RuntimeException resourceLookupForInjectionFailed(String jndiName,
@Cause
Throwable cause)
Resource injection.jndiName - the JNDI name.RuntimeException for the error.@Message(id=11876,
value="Binding type %s requires attributed named %s defined")
OperationFailedException bindingTypeRequiresAttributeDefined(BindingType bindingType,
String attributeName)
bindingType - attributeName - @Message(id=11877,
value="Binding type %s can not take a \'cache\' attribute")
OperationFailedException cacheNotValidForBindingType(BindingType type)
@Message(id=11878,
value="Failed to lookup %s")
NamingException lookupError(String name)
name - the bind name.NamingException for the error.@Message(id=11879,
value="%s service not started")
IllegalStateException serviceNotStarted(org.jboss.msc.service.ServiceName serviceName)
serviceName - Copyright © 2014 JBoss by Red Hat. All rights reserved.