Package com.sun.corba.ee.spi.logex.corba
Class CorbaExtension
- java.lang.Object
-
- org.glassfish.pfl.basic.logex.WrapperGenerator.ExtensionBase
-
- com.sun.corba.ee.spi.logex.stdcorba.StandardLogger
-
- com.sun.corba.ee.spi.logex.corba.CorbaExtension
-
- All Implemented Interfaces:
org.glassfish.pfl.basic.logex.WrapperGenerator.Extension
public class CorbaExtension extends StandardLogger
-
-
Field Summary
Fields Modifier and Type Field Description static int
ActivationGroup
private static java.lang.String
CLASS_NAME_SUFFIX
static int
InterceptorsGroup
static int
IORGroup
static int
NamingGroup
static int
ORBUtilGroup
static int
POAGroup
static CorbaExtension
self
private static java.lang.Class<?>[]
SYS_EX_CLASSES
private static java.util.List<java.lang.reflect.Constructor<SystemException>>
SYS_EX_CONSTRUCTORS
static int
UtilGroup
-
Fields inherited from class com.sun.corba.ee.spi.logex.stdcorba.StandardLogger
CORBA_LOGGER_PREFIX
-
-
Constructor Summary
Constructors Modifier Constructor Description private
CorbaExtension()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private int
findClass(java.lang.Class<?> cls)
private int
getExceptionId(java.lang.reflect.Method method)
private org.glassfish.pfl.basic.logex.Log
getLog(java.lang.reflect.Method method)
java.lang.String
getLoggerName(java.lang.Class<?> cls)
java.lang.String
getLogId(java.lang.reflect.Method method)
private int
getMinorCode(ORBException orbex, org.glassfish.pfl.basic.logex.Log log)
int
getMinorCode(java.lang.Class<?> cls, java.lang.String methodName)
int
getMinorCode(java.lang.reflect.Method method)
private ORBException
getORBException(java.lang.reflect.Method method)
java.lang.Exception
makeException(java.lang.String msg, java.lang.reflect.Method method)
-
-
-
Field Detail
-
self
public static final CorbaExtension self
-
ORBUtilGroup
public static final int ORBUtilGroup
- See Also:
- Constant Field Values
-
ActivationGroup
public static final int ActivationGroup
- See Also:
- Constant Field Values
-
NamingGroup
public static final int NamingGroup
- See Also:
- Constant Field Values
-
InterceptorsGroup
public static final int InterceptorsGroup
- See Also:
- Constant Field Values
-
POAGroup
public static final int POAGroup
- See Also:
- Constant Field Values
-
IORGroup
public static final int IORGroup
- See Also:
- Constant Field Values
-
UtilGroup
public static final int UtilGroup
- See Also:
- Constant Field Values
-
SYS_EX_CLASSES
private static final java.lang.Class<?>[] SYS_EX_CLASSES
-
SYS_EX_CONSTRUCTORS
private static final java.util.List<java.lang.reflect.Constructor<SystemException>> SYS_EX_CONSTRUCTORS
-
CLASS_NAME_SUFFIX
private static final java.lang.String CLASS_NAME_SUFFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
findClass
private int findClass(java.lang.Class<?> cls)
-
getORBException
private ORBException getORBException(java.lang.reflect.Method method)
-
getLog
private org.glassfish.pfl.basic.logex.Log getLog(java.lang.reflect.Method method)
-
getExceptionId
private int getExceptionId(java.lang.reflect.Method method)
-
getMinorCode
private int getMinorCode(ORBException orbex, org.glassfish.pfl.basic.logex.Log log)
-
getMinorCode
public int getMinorCode(java.lang.reflect.Method method)
-
getMinorCode
public int getMinorCode(java.lang.Class<?> cls, java.lang.String methodName)
-
getLogId
public java.lang.String getLogId(java.lang.reflect.Method method)
- Specified by:
getLogId
in interfaceorg.glassfish.pfl.basic.logex.WrapperGenerator.Extension
- Overrides:
getLogId
in classorg.glassfish.pfl.basic.logex.WrapperGenerator.ExtensionBase
-
makeException
public java.lang.Exception makeException(java.lang.String msg, java.lang.reflect.Method method)
- Specified by:
makeException
in interfaceorg.glassfish.pfl.basic.logex.WrapperGenerator.Extension
- Overrides:
makeException
in classorg.glassfish.pfl.basic.logex.WrapperGenerator.ExtensionBase
-
getLoggerName
public java.lang.String getLoggerName(java.lang.Class<?> cls)
- Specified by:
getLoggerName
in interfaceorg.glassfish.pfl.basic.logex.WrapperGenerator.Extension
- Overrides:
getLoggerName
in classStandardLogger
-
-