Package org.jboss.as.naming.logging
Interface NamingLogger
- All Superinterfaces:
org.jboss.logging.BasicLogger
- All Known Implementing Classes:
NamingLogger_$logger
@MessageLogger(projectCode="WFLYNAM",
length=4)
public interface NamingLogger
extends org.jboss.logging.BasicLogger
Date: 17.06.2011
- Author:
- James R. Perkins
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final NamingLoggerThe root logger with a category of the package name. -
Method Summary
Modifier and TypeMethodDescriptionvoidLogs an informational message indicating the naming subsystem is being activated.org.jboss.as.controller.OperationFailedExceptionbindingTypeRequiresAttributeDefined(BindingType bindingType, String attributeName) Creates an exception indicating that a required attribute is not defined.org.jboss.as.controller.OperationFailedExceptionCreates an exception indicating you cannot add aPermissionto a read-onlyPermissionCollection.cannotBeNull(String name) A message indicating thenamecannot benull.cannotDeferenceObject(Throwable cause) Creates an exception indicating the object dereference to the object failed.Creates an exception indicating the inability to list a non-context binding.A message indicating the link could not be looked up.org.jboss.as.controller.OperationFailedExceptioncannotResolveService(org.jboss.msc.service.ServiceName serviceName) Creates an exception indicating the service name could not be resolved.cannotResolveService(org.jboss.msc.service.ServiceName serviceName, String className, String state) Creates an exception indicating the service name could not be resolved.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.OperationFailedExceptioncouldNotInstantiateClassInstanceFromModule(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.OperationFailedExceptioncouldNotLoadClassFromModule(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.OperationFailedExceptioncouldNotLoadModule(org.jboss.modules.ModuleIdentifier moduleID) Creates an exception indicating that a module could not be loaded.duplicateBinding(JndiName jndiName, Object existing, Object value) A message indicating duplicate JNDI bindings were found.Creates an exception indicating an empty name is not allowed.entryNotRegistered(Throwable cause, String contextName, Context context) Creates an exception indicating the JNDI entry is not yet registered in the context.Creates an exception indicating a failure to destroy the root context.failedToInstantiate(Throwable cause, String description, String className, ClassLoader classLoader) Creates an exception indicating theclassNamecould not be instantiated from theclassLoader.voidfailedToLookupJndiViewValue(String entry, Throwable cause) A message indicating that the lookup of an entry's JNDI view value failed.failedToReadContextEntries(String bindingName) A message indicating the context entries could not be read from the binding name represented by thebindingNameparameter.voidCreates an exception indicating that a class is not anObjectFactoryinstance, from the specified module.voidfailedToSet(Throwable cause, String name) Logs a warning message indicating thenamefailed to get set.failedToStart(String name) A message indicating a failure to start thenameservice.org.jboss.msc.service.StartExceptionillegalContextInName(String jndiName) Creates an exception indicating there was an illegal context in the name.invalidContextReference(String referenceName) Creates an exception indicating the context reference is invalid.invalidJndiName(String jndiName) Creates an exception indicating the JNDI name is invalid.Creates an exception indicating the load factor must be greater than 0 and less then or equal 1.org.jboss.as.server.deployment.DeploymentUnitProcessingExceptionorg.jboss.as.controller.OperationFailedExceptioninvalidNamespaceForBinding(String name, String namespaces) invalidPermission(Permission permission) Creates an exception indicating the permission is invalid.invalidPermissionAction(String permissionAction) Creates an exception indicating the permission actions is unknown.Creates an exception indicating the table size cannot be negative.A message indicating that JNDI view is only available in runtime mode.lookupError(Throwable cause, String name) Creates an exception indicating a lookup failure.org.jboss.as.controller.OperationFailedExceptionmoduleNotFound(org.jboss.modules.ModuleIdentifier moduleID, String missingModule) nameNotFoundInContext(String name, Name contextName) Creates an exception indicating the name could not be found in the context.org.jboss.as.controller.OperationFailedExceptionnotAnInstanceOfObjectFactory(String className, org.jboss.modules.ModuleIdentifier moduleID) Creates an exception indicating that a class is not anObjectFactoryinstance, from the specified module.Creates an exception indicating the variable isnull.Creates an exception indicating the object factory failed to create from the classloader.Creates an exception indicating the naming context is read-only.resourceLookupForInjectionFailed(String jndiName, Throwable cause) Creates an exception indicating a lookup failed, wrtjavax.annotation.Resourceinjection.serviceAlreadyBound(org.jboss.msc.service.ServiceName serviceName) Creates an exception indicating the service name has already been bound.serviceNotStarted(org.jboss.msc.service.ServiceName serviceName) Indicates that a service is not started as expected.voidLogs an informational message indicating the naming service is starting.Creates an exception indicating the table is full.threadInterrupt(org.jboss.msc.service.ServiceName serviceName) Creates an exception indicating the thread was interrupted while retrieving the service.org.jboss.as.controller.OperationFailedExceptionunableToTransformURLBindingValue(String value, Throwable cause) Creates an exception indicating that the string value for the simple URL binding failed to transform.org.jboss.as.controller.OperationFailedExceptionunknownBindingType(String type) Creates an exception indicating that the type for the binding to add is not known.org.jboss.as.controller.OperationFailedExceptionCreates an exception indicating that the type for the simple binding to add is not supported.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 with a category of the package name.
-
-
Method Details
-
activatingSubsystem
@LogMessage(level=INFO) @Message(id=1, value="Activating Naming Subsystem") void activatingSubsystem()Logs an informational message indicating the naming subsystem is being activated. -
failedToSet
@LogMessage(level=WARN) @Message(id=2, value="Failed to set %s") void failedToSet(@Cause Throwable cause, String name) Logs a warning message indicating thenamefailed to get set.- Parameters:
cause- the cause of the error.name- the name of the object that didn't get set.
-
startingService
@LogMessage(level=INFO) @Message(id=3, value="Starting Naming Service") void startingService()Logs an informational message indicating the naming service is starting. -
failedToReleaseBinderService
@LogMessage(level=ERROR) @Message(id=12, value="Failed to release binder service, used for a runtime made JNDI binding") void failedToReleaseBinderService(@Cause Throwable cause) Creates an exception indicating that a class is not anObjectFactoryinstance, from the specified module.- Parameters:
cause- the cause
-
failedToLookupJndiViewValue
@LogMessage(level=ERROR) @Message(id=13, value="Failed to obtain jndi view value for entry %s.") void failedToLookupJndiViewValue(String entry, @Cause Throwable cause) A message indicating that the lookup of an entry's JNDI view value failed.- Parameters:
cause- the cause of the error.entry- the jndi name of the entry
-
cannotAddToReadOnlyPermissionCollection
@Message(id=14, value="Attempt to add a Permission to a readonly PermissionCollection") SecurityException cannotAddToReadOnlyPermissionCollection()Creates an exception indicating you cannot add aPermissionto a read-onlyPermissionCollection.- Returns:
- A
SecurityExceptionfor the error.
-
cannotBeNull
A message indicating thenamecannot benull.- Parameters:
name- the name.- Returns:
- the message.
-
cannotDeferenceObject
@Message(id=16, value="Could not dereference object") NamingException cannotDeferenceObject(@Cause Throwable cause) Creates an exception indicating the object dereference to the object failed.- Parameters:
cause- the cause of the error.- Returns:
- a
NamingExceptionfor the error.
-
cannotListNonContextBinding
@Message(id=17, value="Unable to list a non Context binding.") NamingException cannotListNonContextBinding()Creates an exception indicating the inability to list a non-context binding.- Returns:
- a
NamingExceptionfor the error.
-
cannotLookupLink
A message indicating the link could not be looked up.- Returns:
- the message.
-
cannotResolveService
@Message(id=20, value="Could not resolve service %s") NamingException cannotResolveService(org.jboss.msc.service.ServiceName serviceName) Creates an exception indicating the service name could not be resolved.- Parameters:
serviceName- the service name.- Returns:
- a
NamingExceptionfor the error.
-
cannotResolveService
@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) Creates an exception indicating the service name could not be resolved.- Parameters:
serviceName- the service name.className- the factory class name.state- the state of the service.- Returns:
- a
NamingExceptionfor the error.
-
cannotResolveServiceBug
@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) Creates an exception indicating the service name could not be resolved and here is a bug.- Parameters:
serviceName- the service name.className- the factory class name.state- the state of the service.- Returns:
- a
NamingExceptionfor the error.
-
duplicateBinding
@Message(id=23, value="Duplicate JNDI bindings for \'%s\' are not compatible. [%s] != [%s]") String duplicateBinding(JndiName jndiName, Object existing, Object value) A message indicating duplicate JNDI bindings were found.- Parameters:
jndiName- the JNDI name.existing- the existing object.value- the new object.- Returns:
- the message.
-
emptyNameNotAllowed
Creates an exception indicating an empty name is not allowed.- Returns:
- an
InvalidNameExceptionfor the error.
-
entryNotRegistered
@Message(id=25, value="Jndi entry \'%s\' is not yet registered in context \'%s\'") IllegalStateException entryNotRegistered(@Cause Throwable cause, String contextName, Context context) Creates an exception indicating the JNDI entry is not yet registered in the context.- Parameters:
cause- the cause of the error.contextName- the context name.context- the context.- Returns:
- an
IllegalStateExceptionfor the error.
-
failedToDestroyRootContext
@Message(id=26, value="Failed to destroy root context") IllegalStateException failedToDestroyRootContext(@Cause Throwable cause) Creates an exception indicating a failure to destroy the root context.- Parameters:
cause- the cause of the failure.- Returns:
- an
IllegalStateExceptionfor the error.
-
failedToInstantiate
@Message(id=27, value="Failed instantiate %s %s from classloader %s") NamingException failedToInstantiate(@Cause Throwable cause, String description, String className, ClassLoader classLoader) Creates an exception indicating theclassNamecould not be instantiated from theclassLoader.- Parameters:
description- a description.className- the class name.classLoader- the class loader- Returns:
- a
NamingExceptionfor the error.
-
failedToReadContextEntries
@Message(id=28, value="Failed to read %s context entries.") String failedToReadContextEntries(String bindingName) A message indicating the context entries could not be read from the binding name represented by thebindingNameparameter.- Parameters:
bindingName- the binding name parameter.- Returns:
- the message.
-
failedToStart
A message indicating a failure to start thenameservice.- Parameters:
name- the name of the service.- Returns:
- the message.
-
illegalContextInName
@Message(id=30, value="Illegal context in name: %s") RuntimeException illegalContextInName(String jndiName) Creates an exception indicating there was an illegal context in the name.- Parameters:
jndiName- the JNDI name.- Returns:
- a
RuntimeExceptionfor the error.
-
invalidContextReference
@Message(id=32, value="Invalid context reference. Not a \'%s\' reference.") NamingException invalidContextReference(String referenceName) Creates an exception indicating the context reference is invalid.- Parameters:
referenceName- the reference name.- Returns:
- a
NamingExceptionfor the error.
-
invalidJndiName
@Message(id=33, value="A valid JNDI name must be provided: %s") IllegalArgumentException invalidJndiName(String jndiName) Creates an exception indicating the JNDI name is invalid.- Parameters:
jndiName- the invalid JNDI name.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidLoadFactor
@Message(id=34, value="Load factor must be greater than 0 and less than or equal to 1") IllegalArgumentException invalidLoadFactor()Creates an exception indicating the load factor must be greater than 0 and less then or equal 1.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidPermission
@Message(id=35, value="invalid permission, unknown action: %s") IllegalArgumentException invalidPermission(Permission permission) Creates an exception indicating the permission is invalid.- Parameters:
permission- the permission.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidPermissionAction
@Message(id=36, value="invalid permission, unknown action: %s") IllegalArgumentException invalidPermissionAction(String permissionAction) Creates an exception indicating the permission actions is unknown.- Parameters:
permissionAction- the permission action.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
invalidTableSize
@Message(id=37, value="Can not have a negative size table!") IllegalArgumentException invalidTableSize()Creates an exception indicating the table size cannot be negative.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
jndiViewNotAvailable
A message indicating that JNDI view is only available in runtime mode.- Returns:
- the message.
-
nameNotFoundInContext
@Message(id=39, value="Name \'%s\' not found in context \'%s\'") NameNotFoundException nameNotFoundInContext(String name, Name contextName) Creates an exception indicating the name could not be found in the context.- Parameters:
name- the name that could not be found.contextName- the context name.- Returns:
- a
NameNotFoundExceptionfor the error.
-
nullVar
Creates an exception indicating the variable isnull.- Parameters:
varName- the variable name.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
objectFactoryCreationFailure
@Message(id=42, value="Failed to create object factory from classloader.") NamingException objectFactoryCreationFailure(@Cause Throwable cause) Creates an exception indicating the object factory failed to create from the classloader.- Parameters:
cause- the cause of the failure.- Returns:
- a
NamingExceptionfor the error.
-
readOnlyNamingContext
@Message(id=43, value="Naming context is read-only") OperationNotSupportedException readOnlyNamingContext()Creates an exception indicating the naming context is read-only.- Returns:
- an
OperationNotSupportedExceptionfor the error.
-
serviceAlreadyBound
@Message(id=44, value="Service with name [%s] already bound.") IllegalArgumentException serviceAlreadyBound(org.jboss.msc.service.ServiceName serviceName) Creates an exception indicating the service name has already been bound.- Parameters:
serviceName- the service name.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
tableIsFull
Creates an exception indicating the table is full.- Returns:
- an
IllegalArgumentExceptionfor the error.
-
threadInterrupt
@Message(id=46, value="Thread interrupted while retrieving service reference for service %s") NamingException threadInterrupt(org.jboss.msc.service.ServiceName serviceName) Creates an exception indicating the thread was interrupted while retrieving the service.- Parameters:
serviceName- the service name.- Returns:
- a
NamingExceptionfor the error.
-
invalidNameForContextBinding
@Message(id=47, value="Invalid name for context binding %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException invalidNameForContextBinding(String name) -
invalidNamespaceForBinding
-
unknownBindingType
@Message(id=49, value="Unknown binding type %s") org.jboss.as.controller.OperationFailedException unknownBindingType(String type) Creates an exception indicating that the type for the binding to add is not known.- Parameters:
type- the unknown type- Returns:
- the exception
-
unsupportedSimpleBindingType
@Message(id=50, value="Unsupported simple binding type %s") org.jboss.as.controller.OperationFailedException unsupportedSimpleBindingType(String type) Creates an exception indicating that the type for the simple binding to add is not supported.- Parameters:
type- the unsupported type- Returns:
- the exception
-
unableToTransformURLBindingValue
@Message(id=51, value="Unable to transform URL binding value %s") org.jboss.as.controller.OperationFailedException unableToTransformURLBindingValue(String value, @Cause Throwable cause) Creates an exception indicating that the string value for the simple URL binding failed to transform.- Parameters:
value- the URL value as stringcause- the original cause of failure- Returns:
- the exception
-
couldNotLoadModule
@Message(id=52, value="Could not load module %s") org.jboss.as.controller.OperationFailedException couldNotLoadModule(org.jboss.modules.ModuleIdentifier moduleID) Creates an exception indicating that a module could not be loaded.- Parameters:
moduleID- the module not loaded- Returns:
- the exception
-
couldNotLoadClassFromModule
@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) Creates an exception indicating that a class could not be loaded from a module.- Parameters:
className- the name of the class not loadedmoduleID- the module- Returns:
- the exception
-
couldNotInstantiateClassInstanceFromModule
@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) Creates an exception indicating that a class instance could not be instantiate, from the specified module.- Parameters:
className- the name of the class not loadedmoduleID- the module- Returns:
- the exception
-
notAnInstanceOfObjectFactory
@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) Creates an exception indicating that a class is not anObjectFactoryinstance, from the specified module.- Parameters:
className- the name of the classmoduleID- the module id- Returns:
- the exception
-
resourceLookupForInjectionFailed
@Message(id=59, value="Resource lookup for injection failed: %s") RuntimeException resourceLookupForInjectionFailed(String jndiName, @Cause Throwable cause) Creates an exception indicating a lookup failed, wrtjavax.annotation.Resourceinjection.- Parameters:
jndiName- the JNDI name.- Returns:
- a
RuntimeExceptionfor the error.
-
bindingTypeRequiresAttributeDefined
@Message(id=60, value="Binding type %s requires attribute named %s defined") org.jboss.as.controller.OperationFailedException bindingTypeRequiresAttributeDefined(BindingType bindingType, String attributeName) Creates an exception indicating that a required attribute is not defined.- Parameters:
bindingType- binding typeattributeName- missing attribute- Returns:
- the exception
-
cacheNotValidForBindingType
@Message(id=61, value="Binding type %s can not take a \'cache\' attribute") org.jboss.as.controller.OperationFailedException cacheNotValidForBindingType(BindingType type) -
lookupError
@Message(id=62, value="Failed to lookup %s") NamingException lookupError(@Cause Throwable cause, String name) Creates an exception indicating a lookup failure.- Parameters:
cause- the cause of the errorname- the bind name.- Returns:
- a
NamingExceptionfor the error.
-
serviceNotStarted
@Message(id=63, value="%s service not started") IllegalStateException serviceNotStarted(org.jboss.msc.service.ServiceName serviceName) Indicates that a service is not started as expected.- Returns:
- the exception
-
cannotRebindExternalContext
@Message(id=64, value="Cannot rebind external context lookup") org.jboss.as.controller.OperationFailedException cannotRebindExternalContext() -
moduleNotFound
@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) -
failedToStartRemoteNamingService
@Message(id=66, value="Failed to start remote naming service") org.jboss.msc.service.StartException failedToStartRemoteNamingService(@Cause Throwable cause) -
failedToStopRemoteNamingService
@Message(id=67, value="Failed to stop remote naming service") IllegalStateException failedToStopRemoteNamingService(@Cause Throwable cause)
-