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 Details

    • ROOT_LOGGER

      static final NamingLogger 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 the name failed 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 an ObjectFactory instance, 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 a Permission to a read-only PermissionCollection.
      Returns:
      A SecurityException for the error.
    • cannotBeNull

      @Message(id=15, value="%s cannot be null.") String cannotBeNull(String name)
      A message indicating the name cannot be null.
      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 NamingException for 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 NamingException for the error.
    • cannotLookupLink

      @Message(id=18, value="Could not lookup link") String 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 NamingException for 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 NamingException for 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 NamingException for 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

      @Message(id=24, value="An empty name is not allowed") InvalidNameException emptyNameNotAllowed()
      Creates an exception indicating an empty name is not allowed.
      Returns:
      an InvalidNameException for 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 IllegalStateException for 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 IllegalStateException for 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 the className could not be instantiated from the classLoader.
      Parameters:
      description - a description.
      className - the class name.
      classLoader - the class loader
      Returns:
      a NamingException for 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 the bindingName parameter.
      Parameters:
      bindingName - the binding name parameter.
      Returns:
      the message.
    • failedToStart

      @Message(id=29, value="Failed to start %s") String failedToStart(String name)
      A message indicating a failure to start the name service.
      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 RuntimeException for 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 NamingException for 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 IllegalArgumentException for 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 IllegalArgumentException for 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 IllegalArgumentException for 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 IllegalArgumentException for 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 IllegalArgumentException for the error.
    • jndiViewNotAvailable

      @Message(id=38, value="Jndi view is only available in runtime mode.") String 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 NameNotFoundException for the error.
    • nullVar

      @Message(id=41, value="%s is null") IllegalArgumentException nullVar(String varName)
      Creates an exception indicating the variable is null.
      Parameters:
      varName - the variable name.
      Returns:
      an IllegalArgumentException for 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 NamingException for 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 OperationNotSupportedException for 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 IllegalArgumentException for the error.
    • tableIsFull

      @Message(id=45, value="Table is full!") IllegalStateException tableIsFull()
      Creates an exception indicating the table is full.
      Returns:
      an IllegalArgumentException for 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 NamingException for the error.
    • invalidNameForContextBinding

      @Message(id=47, value="Invalid name for context binding %s") org.jboss.as.server.deployment.DeploymentUnitProcessingException invalidNameForContextBinding(String name)
    • invalidNamespaceForBinding

      @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)
    • 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 string
      cause - 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 loaded
      moduleID - 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 loaded
      moduleID - 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 an ObjectFactory instance, from the specified module.
      Parameters:
      className - the name of the class
      moduleID - 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, wrt javax.annotation.Resource injection.
      Parameters:
      jndiName - the JNDI name.
      Returns:
      a RuntimeException for 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 type
      attributeName - 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 error
      name - the bind name.
      Returns:
      a NamingException for 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)