PageRenderTime 43ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/jboss-as-7.1.1.Final/jacorb/src/main/java/org/jboss/as/jacorb/JacORBLogger.java

#
Java | 197 lines | 126 code | 42 blank | 29 comment | 0 complexity | 1fad37bfc034f473a948c1ea8404c61b MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0
  1. /*
  2. * JBoss, Home of Professional Open Source.
  3. * Copyright 2011, Red Hat, Inc., and individual contributors
  4. * as indicated by the @author tags. See the copyright.txt file in the
  5. * distribution for a full listing of individual contributors.
  6. *
  7. * This is free software; you can redistribute it and/or modify it
  8. * under the terms of the GNU Lesser General Public License as
  9. * published by the Free Software Foundation; either version 2.1 of
  10. * the License, or (at your option) any later version.
  11. *
  12. * This software is distributed in the hope that it will be useful,
  13. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  14. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  15. * Lesser General Public License for more details.
  16. *
  17. * You should have received a copy of the GNU Lesser General Public
  18. * License along with this software; if not, write to the Free
  19. * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
  20. * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
  21. */
  22. package org.jboss.as.jacorb;
  23. import static org.jboss.logging.Logger.Level.DEBUG;
  24. import static org.jboss.logging.Logger.Level.ERROR;
  25. import static org.jboss.logging.Logger.Level.INFO;
  26. import static org.jboss.logging.Logger.Level.TRACE;
  27. import static org.jboss.logging.Logger.Level.WARN;
  28. import org.jboss.logging.BasicLogger;
  29. import org.jboss.logging.Cause;
  30. import org.jboss.logging.LogMessage;
  31. import org.jboss.logging.Logger;
  32. import org.jboss.logging.Message;
  33. import org.jboss.logging.MessageLogger;
  34. import org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData;
  35. import org.omg.CORBA.ORB;
  36. /**
  37. * The jacorb subsystem is using message IDs in the range 16300-16499. This file is using the subset 16300-16399 for
  38. * logger messages.
  39. * See http://http://community.jboss.org/wiki/LoggingIds for the full list of currently reserved JBAS message id blocks.
  40. *
  41. * @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
  42. * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
  43. */
  44. @MessageLogger(projectCode = "JBAS")
  45. public interface JacORBLogger extends BasicLogger {
  46. JacORBLogger ROOT_LOGGER = Logger.getMessageLogger(JacORBLogger.class, JacORBLogger.class.getPackage().getName());
  47. @LogMessage(level = INFO)
  48. @Message(id = 16300, value = "Activating JacORB Subsystem")
  49. void activatingSubsystem();
  50. @LogMessage(level = DEBUG)
  51. @Message(id = 16301, value = "IOR security config metadata: %s")
  52. void debugIORSecurityConfigMetaData(IORSecurityConfigMetaData metaData);
  53. @LogMessage(level = DEBUG)
  54. @Message(id = 16302, value = "CSIv2Policy not found in IORInfo")
  55. void csiv2PolicyNotFoundInIORInfo();
  56. @LogMessage(level = ERROR)
  57. @Message(id = 16303, value = "Error fetching CSIv2Policy")
  58. void failedToFetchCSIv2Policy(@Cause Throwable cause);
  59. @LogMessage(level = DEBUG)
  60. @Message(id = 16304, value = "Method createSSLTaggedComponent() called with null metadata")
  61. void createSSLTaggedComponentWithNullMetaData();
  62. @LogMessage(level = DEBUG)
  63. @Message(id = 16305, value = "Method createSecurityTaggedComponent() called with null metadata")
  64. void createSecurityTaggedComponentWithNullMetaData();
  65. @LogMessage(level = WARN)
  66. @Message(id = 16306, value = "Caught exception while encoding GSSUPMechOID")
  67. void caughtExceptionEncodingGSSUPMechOID(@Cause Throwable cause);
  68. @LogMessage(level = TRACE)
  69. @Message(id = 16307, value = "receive_reply: got SAS reply, type %d")
  70. void traceReceiveReply(int type);
  71. @LogMessage(level = TRACE)
  72. @Message(id = 16308, value = "receive_exception: got SAS reply, type %d")
  73. void traceReceiveException(int type);
  74. @LogMessage(level = TRACE)
  75. @Message(id = 16309, value = "receive_request: %s")
  76. void traceReceiveRequest(String operation);
  77. @LogMessage(level = TRACE)
  78. @Message(id = 16310, value = "Received client authentication token")
  79. void authTokenReceived();
  80. @LogMessage(level = TRACE)
  81. @Message(id = 16311, value = "Received identity token")
  82. void identityTokenReceived();
  83. @LogMessage(level = TRACE)
  84. @Message(id = 16312, value = "send_reply: %s")
  85. void traceSendReply(String operation);
  86. @LogMessage(level = TRACE)
  87. @Message(id = 16313, value = "send_exception: %s")
  88. void traceSendException(String operation);
  89. @LogMessage(level = DEBUG)
  90. @Message(id = 16314, value = "Bound name: %s")
  91. void debugBoundName(String name);
  92. @LogMessage(level = DEBUG)
  93. @Message(id = 16315, value = "Bound context: %s")
  94. void debugBoundContext(String context);
  95. @LogMessage(level = DEBUG)
  96. @Message(id = 16316, value = "Unbound: %s")
  97. void debugUnboundObject(String context);
  98. @LogMessage(level = ERROR)
  99. @Message(id = 16317, value = "Internal error")
  100. void logInternalError(@Cause Exception cause);
  101. @LogMessage(level = ERROR)
  102. @Message(id = 16318, value = "Failed to create CORBA naming context")
  103. void failedToCreateNamingContext(@Cause Exception cause);
  104. @LogMessage(level = WARN)
  105. @Message(id = 16319, value = "Unbind failed for %s")
  106. void failedToUnbindObject(String name);
  107. @LogMessage(level = DEBUG)
  108. @Message(id = 16320, value = "Unable to obtain id from object")
  109. void failedToObtainIdFromObject(@Cause Exception cause);
  110. @LogMessage(level = DEBUG)
  111. @Message(id = 16321, value = "Getting default ORB %s")
  112. void debugGetDefaultORB(ORB orb);
  113. @LogMessage(level = TRACE)
  114. @Message(id = 16322, value = "Creating server socket factory: %s")
  115. void traceServerSocketFactoryCreation(String factoryClass);
  116. @LogMessage(level = DEBUG)
  117. @Message(id = 16323, value = "Obtained JSSE security domain with name %s")
  118. void debugJSSEDomainRetrieval(String securityDomain);
  119. @LogMessage(level = ERROR)
  120. @Message(id = 16324, value = "Failed to obtain JSSE security domain with name %s")
  121. void failedToObtainJSSEDomain(String securityDomain);
  122. @LogMessage(level = TRACE)
  123. @Message(id = 16325, value = "Creating socket factory: %s")
  124. void traceSocketFactoryCreation(String factoryClass);
  125. @LogMessage(level = DEBUG)
  126. @Message(id = 16326, value = "Starting service %s")
  127. void debugServiceStartup(String serviceName);
  128. @LogMessage(level = DEBUG)
  129. @Message(id = 16327, value = "Stopping service %s")
  130. void debugServiceStop(String serviceName);
  131. @LogMessage(level = INFO)
  132. @Message(id = 16328, value = "CORBA Naming Service started")
  133. void corbaNamingServiceStarted();
  134. @LogMessage(level = DEBUG)
  135. @Message(id = 16329, value = "Naming: [%s]")
  136. void debugNamingServiceIOR(String ior);
  137. @LogMessage(level = INFO)
  138. @Message(id = 16330, value = "CORBA ORB Service started")
  139. void corbaORBServiceStarted();
  140. @LogMessage(level = TRACE)
  141. @Message(id = 16331, value = "Intercepting receive_request_service_contexts, operation: %s")
  142. void traceReceiveRequestServiceContexts(String operation);
  143. @LogMessage(level = WARN)
  144. @Message(id = 16332, value = "Compatibility problem: Class javax.rmi.CORBA.ClassDesc does not conform to the Java(TM) Language to IDL Mapping Specification (01-06-07), section 1.3.5.11")
  145. void warnClassDescDoesNotConformToSpec();
  146. @LogMessage(level = WARN)
  147. @Message(id = 16333, value = "Could not deactivate IR object")
  148. void warnCouldNotDeactivateIRObject(@Cause Throwable cause);
  149. @LogMessage(level = DEBUG)
  150. @Message(id = 16334, value = "Exception converting CORBA servant to reference")
  151. void debugExceptionConvertingServantToReference(@Cause Throwable cause);
  152. @LogMessage(level = WARN)
  153. @Message(id = 16335, value = "Could not deactivate anonymous IR object")
  154. void warnCouldNotDeactivateAnonIRObject(@Cause Throwable cause);
  155. }