@MessageLogger(projectCode="WFLYNAM",
length=4)
public interface NamingLogger
extends org.jboss.logging.BasicLogger
| Modifier and Type | Field and Description |
|---|---|
static NamingLogger |
ROOT_LOGGER
The root logger with a category of the package name.
|
| Modifier and Type | Method and Description |
|---|---|
void |
activatingSubsystem()
Logs an informational message indicating the naming subsystem is being activated.
|
org.jboss.as.controller.OperationFailedException |
bindingTypeRequiresAttributeDefined(BindingType bindingType,
String attributeName)
Creates an exception indicating that a required attribute is not defined.
|
org.jboss.as.controller.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.
|
org.jboss.as.controller.OperationFailedException |
cannotRebindExternalContext() |
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.
|
org.jboss.as.controller.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.
|
org.jboss.as.controller.OperationFailedException |
couldNotLoadClassFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
Creates an exception indicating that a class could not be loaded from a module.
|
org.jboss.as.controller.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. |
void |
failedToLookupJndiViewValue(String entry,
Throwable cause)
A message indicating that the lookup of an entry's JNDI view value failed.
|
String |
failedToReadContextEntries(String bindingName)
A message indicating the context entries could not be read from the binding name represented by the
bindingName parameter. |
void |
failedToReleaseBinderService(Throwable cause)
Creates an exception indicating that a class is not an
ObjectFactory instance, from the specified module. |
void |
failedToSet(Throwable cause,
String name)
Logs a warning message indicating the
name failed to get set. |
String |
failedToStart(String name)
A message indicating a failure to start the
name service. |
RuntimeException |
illegalContextInName(String jndiName)
Creates an exception indicating there was an illegal context in the name.
|
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.
|
org.jboss.as.server.deployment.DeploymentUnitProcessingException |
invalidNameForContextBinding(String name) |
org.jboss.as.controller.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(Throwable cause,
String name)
Creates an exception indicating a lookup failure.
|
org.jboss.as.controller.OperationFailedException |
moduleNotFound(org.jboss.modules.ModuleIdentifier moduleID,
String missingModule) |
NameNotFoundException |
nameNotFoundInContext(String name,
Name contextName)
Creates an exception indicating the name could not be found in the context.
|
org.jboss.as.controller.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.
|
void |
startingService()
Logs an informational message indicating the naming service is starting.
|
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.
|
org.jboss.as.controller.OperationFailedException |
unableToTransformURLBindingValue(String value,
Throwable cause)
Creates an exception indicating that the string value for the simple URL binding failed to transform.
|
org.jboss.as.controller.OperationFailedException |
unknownBindingType(String type)
Creates an exception indicating that the type for the binding to add is not known.
|
org.jboss.as.controller.OperationFailedException |
unsupportedSimpleBindingType(String type)
Creates an exception indicating that the type for the simple binding to add is not supported.
|
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, warnvstatic final NamingLogger ROOT_LOGGER
@LogMessage(level=INFO)
@Message(id=1,
value="Activating Naming Subsystem")
void activatingSubsystem()
@LogMessage(level=WARN)
@Message(id=2,
value="Failed to set %s")
void failedToSet(@Cause
Throwable cause,
String name)
name failed to get set.cause - the cause of the error.name - the name of the object that didn't get set.@LogMessage(level=INFO)
@Message(id=3,
value="Starting Naming Service")
void startingService()
@LogMessage(level=ERROR)
@Message(id=12,
value="Failed to release binder service, used for a runtime made JNDI binding")
void failedToReleaseBinderService(@Cause
Throwable cause)
ObjectFactory instance, from the specified module.cause - the cause@LogMessage(level=ERROR)
@Message(id=13,
value="Failed to obtain jndi view value for entry %s.")
void failedToLookupJndiViewValue(String entry,
@Cause
Throwable cause)
cause - the cause of the error.entry - the jndi name of the entry@Message(id=14,
value="Attempt to add a Permission to a readonly PermissionCollection")
SecurityException cannotAddToReadOnlyPermissionCollection()
Permission to a read-only
PermissionCollection.SecurityException for the error.@Message(id=15,
value="%s cannot be null.")
String cannotBeNull(String name)
name cannot be null.name - the name.@Message(id=16,
value="Could not dereference object")
NamingException cannotDeferenceObject(@Cause
Throwable cause)
cause - the cause of the error.NamingException for the error.@Message(id=17,
value="Unable to list a non Context binding.")
NamingException cannotListNonContextBinding()
NamingException for the error.@Message(id=18,
value="Could not lookup link")
String cannotLookupLink()
@Message(id=20,
value="Could not resolve service %s")
NamingException cannotResolveService(org.jboss.msc.service.ServiceName serviceName)
serviceName - the service name.NamingException for the error.@Message(id=21,
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=22,
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=23,
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=24,
value="An empty name is not allowed")
InvalidNameException emptyNameNotAllowed()
InvalidNameException for the error.@Message(id=25,
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=26,
value="Failed to destroy root context")
IllegalStateException failedToDestroyRootContext(@Cause
Throwable cause)
cause - the cause of the failure.IllegalStateException for the error.@Message(id=27,
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=28,
value="Failed to read %s context entries.")
String failedToReadContextEntries(String bindingName)
bindingName parameter.bindingName - the binding name parameter.@Message(id=29,
value="Failed to start %s")
String failedToStart(String name)
name service.name - the name of the service.@Message(id=30,
value="Illegal context in name: %s")
RuntimeException illegalContextInName(String jndiName)
jndiName - the JNDI name.RuntimeException for the error.@Message(id=32,
value="Invalid context reference. Not a \'%s\' reference.")
NamingException invalidContextReference(String referenceName)
referenceName - the reference name.NamingException for the error.@Message(id=33,
value="A valid JNDI name must be provided: %s")
IllegalArgumentException invalidJndiName(String jndiName)
jndiName - the invalid JNDI name.IllegalArgumentException for the error.@Message(id=34,
value="Load factor must be greater than 0 and less than or equal to 1")
IllegalArgumentException invalidLoadFactor()
IllegalArgumentException for the error.@Message(id=35,
value="invalid permission, unknown action: %s")
IllegalArgumentException invalidPermission(Permission permission)
permission - the permission.IllegalArgumentException for the error.@Message(id=36,
value="invalid permission, unknown action: %s")
IllegalArgumentException invalidPermissionAction(String permissionAction)
permissionAction - the permission action.IllegalArgumentException for the error.@Message(id=37,
value="Can not have a negative size table!")
IllegalArgumentException invalidTableSize()
IllegalArgumentException for the error.@Message(id=38,
value="Jndi view is only available in runtime mode.")
String jndiViewNotAvailable()
@Message(id=39,
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=41,
value="%s is null")
IllegalArgumentException nullVar(String varName)
null.varName - the variable name.IllegalArgumentException for the error.@Message(id=42,
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=43,
value="Naming context is read-only")
UnsupportedOperationException readOnlyNamingContext()
UnsupportedOperationException for the error.@Message(id=44,
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=45,
value="Table is full!")
IllegalStateException tableIsFull()
IllegalArgumentException for the error.@Message(id=46,
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=47,
value="Invalid name for context binding %s")
org.jboss.as.server.deployment.DeploymentUnitProcessingException invalidNameForContextBinding(String name)
@Message(id=48,
value="Invalid binding name %s, name must start with one of %s")
org.jboss.as.controller.OperationFailedException invalidNamespaceForBinding(String name,
String namespaces)
@Message(id=49,
value="Unknown binding type %s")
org.jboss.as.controller.OperationFailedException unknownBindingType(String type)
type - the unknown type@Message(id=50,
value="Unsupported simple binding type %s")
org.jboss.as.controller.OperationFailedException unsupportedSimpleBindingType(String type)
type - the unsupported type@Message(id=51,
value="Unable to transform URL binding value %s")
org.jboss.as.controller.OperationFailedException unableToTransformURLBindingValue(String value,
@Cause
Throwable cause)
value - the URL value as stringcause - the original cause of failure@Message(id=52,
value="Could not load module %s")
org.jboss.as.controller.OperationFailedException couldNotLoadModule(org.jboss.modules.ModuleIdentifier moduleID)
moduleID - the module not loaded@Message(id=53,
value="Could not load class %s from module %s")
org.jboss.as.controller.OperationFailedException couldNotLoadClassFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
className - the name of the class not loadedmoduleID - the module@Message(id=54,
value="Could not instantiate instance of class %s from module %s")
org.jboss.as.controller.OperationFailedException couldNotInstantiateClassInstanceFromModule(String className,
org.jboss.modules.ModuleIdentifier moduleID)
className - the name of the class not loadedmoduleID - the module@Message(id=55,
value="Class %s from module %s is not an instance of ObjectFactory")
org.jboss.as.controller.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=59,
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=60,
value="Binding type %s requires attribute named %s defined")
org.jboss.as.controller.OperationFailedException bindingTypeRequiresAttributeDefined(BindingType bindingType,
String attributeName)
bindingType - binding typeattributeName - missing attribute@Message(id=61,
value="Binding type %s can not take a \'cache\' attribute")
org.jboss.as.controller.OperationFailedException cacheNotValidForBindingType(BindingType type)
@Message(id=62,
value="Failed to lookup %s")
NamingException lookupError(@Cause
Throwable cause,
String name)
cause - the cause of the errorname - the bind name.NamingException for the error.@Message(id=63,
value="%s service not started")
IllegalStateException serviceNotStarted(org.jboss.msc.service.ServiceName serviceName)
@Message(id=64,
value="Cannot rebind external context lookup")
org.jboss.as.controller.OperationFailedException cannotRebindExternalContext()
@Message(id=65,
value="Could not load module %s - the module or one of its dependencies is missing [%s]")
org.jboss.as.controller.OperationFailedException moduleNotFound(org.jboss.modules.ModuleIdentifier moduleID,
String missingModule)
Copyright © 2019 JBoss by Red Hat. All rights reserved.