PageRenderTime 102ms CodeModel.GetById 21ms app.highlight 77ms 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
 23package org.jboss.as.jacorb;
 24
 25import static org.jboss.logging.Logger.Level.DEBUG;
 26import static org.jboss.logging.Logger.Level.ERROR;
 27import static org.jboss.logging.Logger.Level.INFO;
 28import static org.jboss.logging.Logger.Level.TRACE;
 29import static org.jboss.logging.Logger.Level.WARN;
 30
 31import org.jboss.logging.BasicLogger;
 32import org.jboss.logging.Cause;
 33import org.jboss.logging.LogMessage;
 34import org.jboss.logging.Logger;
 35import org.jboss.logging.Message;
 36import org.jboss.logging.MessageLogger;
 37import org.jboss.metadata.ejb.jboss.IORSecurityConfigMetaData;
 38import org.omg.CORBA.ORB;
 39
 40/**
 41 * The jacorb subsystem is using message IDs in the range 16300-16499. This file is using the subset 16300-16399 for
 42 * logger messages.
 43 * See http://http://community.jboss.org/wiki/LoggingIds for the full list of currently reserved JBAS message id blocks.
 44 *
 45 * @author <a href="mailto:jperkins@redhat.com">James R. Perkins</a>
 46 * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
 47 */
 48@MessageLogger(projectCode = "JBAS")
 49public interface JacORBLogger extends BasicLogger {
 50
 51    JacORBLogger ROOT_LOGGER = Logger.getMessageLogger(JacORBLogger.class, JacORBLogger.class.getPackage().getName());
 52
 53    @LogMessage(level = INFO)
 54    @Message(id = 16300, value = "Activating JacORB Subsystem")
 55    void activatingSubsystem();
 56
 57    @LogMessage(level = DEBUG)
 58    @Message(id = 16301, value = "IOR security config metadata: %s")
 59    void debugIORSecurityConfigMetaData(IORSecurityConfigMetaData metaData);
 60
 61    @LogMessage(level = DEBUG)
 62    @Message(id = 16302, value = "CSIv2Policy not found in IORInfo")
 63    void csiv2PolicyNotFoundInIORInfo();
 64
 65    @LogMessage(level = ERROR)
 66    @Message(id = 16303, value = "Error fetching CSIv2Policy")
 67    void failedToFetchCSIv2Policy(@Cause Throwable cause);
 68
 69    @LogMessage(level = DEBUG)
 70    @Message(id = 16304, value = "Method createSSLTaggedComponent() called with null metadata")
 71    void createSSLTaggedComponentWithNullMetaData();
 72
 73    @LogMessage(level = DEBUG)
 74    @Message(id = 16305, value = "Method createSecurityTaggedComponent() called with null metadata")
 75    void createSecurityTaggedComponentWithNullMetaData();
 76
 77    @LogMessage(level = WARN)
 78    @Message(id = 16306, value = "Caught exception while encoding GSSUPMechOID")
 79    void caughtExceptionEncodingGSSUPMechOID(@Cause Throwable cause);
 80
 81    @LogMessage(level = TRACE)
 82    @Message(id = 16307, value = "receive_reply: got SAS reply, type %d")
 83    void traceReceiveReply(int type);
 84
 85    @LogMessage(level = TRACE)
 86    @Message(id = 16308, value = "receive_exception: got SAS reply, type %d")
 87    void traceReceiveException(int type);
 88
 89    @LogMessage(level = TRACE)
 90    @Message(id = 16309, value = "receive_request: %s")
 91    void traceReceiveRequest(String operation);
 92
 93    @LogMessage(level = TRACE)
 94    @Message(id = 16310, value = "Received client authentication token")
 95    void authTokenReceived();
 96
 97    @LogMessage(level = TRACE)
 98    @Message(id = 16311, value = "Received identity token")
 99    void identityTokenReceived();
100
101    @LogMessage(level = TRACE)
102    @Message(id = 16312, value = "send_reply: %s")
103    void traceSendReply(String operation);
104
105    @LogMessage(level = TRACE)
106    @Message(id = 16313, value = "send_exception: %s")
107    void traceSendException(String operation);
108
109    @LogMessage(level = DEBUG)
110    @Message(id = 16314, value = "Bound name: %s")
111    void debugBoundName(String name);
112
113    @LogMessage(level = DEBUG)
114    @Message(id = 16315, value = "Bound context: %s")
115    void debugBoundContext(String context);
116
117    @LogMessage(level = DEBUG)
118    @Message(id = 16316, value = "Unbound: %s")
119    void debugUnboundObject(String context);
120
121    @LogMessage(level = ERROR)
122    @Message(id = 16317, value = "Internal error")
123    void logInternalError(@Cause Exception cause);
124
125    @LogMessage(level = ERROR)
126    @Message(id = 16318, value = "Failed to create CORBA naming context")
127    void failedToCreateNamingContext(@Cause Exception cause);
128
129    @LogMessage(level = WARN)
130    @Message(id = 16319, value = "Unbind failed for %s")
131    void failedToUnbindObject(String name);
132
133    @LogMessage(level = DEBUG)
134    @Message(id = 16320, value = "Unable to obtain id from object")
135    void failedToObtainIdFromObject(@Cause Exception cause);
136
137    @LogMessage(level = DEBUG)
138    @Message(id = 16321, value = "Getting default ORB %s")
139    void debugGetDefaultORB(ORB orb);
140
141    @LogMessage(level = TRACE)
142    @Message(id = 16322, value = "Creating server socket factory: %s")
143    void traceServerSocketFactoryCreation(String factoryClass);
144
145    @LogMessage(level = DEBUG)
146    @Message(id = 16323, value = "Obtained JSSE security domain with name %s")
147    void debugJSSEDomainRetrieval(String securityDomain);
148
149    @LogMessage(level = ERROR)
150    @Message(id = 16324, value = "Failed to obtain JSSE security domain with name %s")
151    void failedToObtainJSSEDomain(String securityDomain);
152
153    @LogMessage(level = TRACE)
154    @Message(id = 16325, value = "Creating socket factory: %s")
155    void traceSocketFactoryCreation(String factoryClass);
156
157    @LogMessage(level = DEBUG)
158    @Message(id = 16326, value = "Starting service %s")
159    void debugServiceStartup(String serviceName);
160
161    @LogMessage(level = DEBUG)
162    @Message(id = 16327, value = "Stopping service %s")
163    void debugServiceStop(String serviceName);
164
165    @LogMessage(level = INFO)
166    @Message(id = 16328, value = "CORBA Naming Service started")
167    void corbaNamingServiceStarted();
168
169    @LogMessage(level = DEBUG)
170    @Message(id = 16329, value = "Naming: [%s]")
171    void debugNamingServiceIOR(String ior);
172
173    @LogMessage(level = INFO)
174    @Message(id = 16330, value = "CORBA ORB Service started")
175    void corbaORBServiceStarted();
176
177    @LogMessage(level = TRACE)
178    @Message(id = 16331, value = "Intercepting receive_request_service_contexts, operation: %s")
179    void traceReceiveRequestServiceContexts(String operation);
180
181    @LogMessage(level = WARN)
182    @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")
183    void warnClassDescDoesNotConformToSpec();
184
185    @LogMessage(level = WARN)
186    @Message(id = 16333, value = "Could not deactivate IR object")
187    void warnCouldNotDeactivateIRObject(@Cause Throwable cause);
188
189    @LogMessage(level = DEBUG)
190    @Message(id = 16334, value = "Exception converting CORBA servant to reference")
191    void debugExceptionConvertingServantToReference(@Cause Throwable cause);
192
193    @LogMessage(level = WARN)
194    @Message(id = 16335, value = "Could not deactivate anonymous IR object")
195    void warnCouldNotDeactivateAnonIRObject(@Cause Throwable cause);
196
197}