org.apache.log4j.jmx.AppenderDynamicMBean.class Maven / Gradle / Ivy
The newest version!
???? 0?
?
?
?
?
?
? ? ? ?
?
!"#
$
$%
$&
'(
?) ?*+
?,
-./0
'1
23
+4
56789
:;
.<=>
? ?@ ?AB
CD
E
FGH
>I
EJK BLMN ?OP
QRSTU
?VW
L
?X
LYZ
L[\]
S^_`
Ua ?bcd
?efghijkl
Cmnopqr
fast
euvTw
Exyz ?
{ +|
'}~
w???
??
?????
}a???
?
??? +??
'?
???
Q???
E????
L??T? ???
C???
dConstructors ([Ljavax/management/MBeanConstructorInfo; dAttributes Ljava/util/Vector;
dClassName Ljava/lang/String; dynamicProps Ljava/util/Hashtable; dOperations &[Ljavax/management/MBeanOperationInfo; dDescription cat Lorg/apache/log4j/Logger; appender Lorg/apache/log4j/Appender; /class$org$apache$log4j$jmx$AppenderDynamicMBean Ljava/lang/Class; Synthetic class$org$apache$log4j$Priority class$java$lang$String class$org$apache$log4j$Layout (Lorg/apache/log4j/Appender;)V Code LineNumberTable LocalVariableTable this +Lorg/apache/log4j/jmx/AppenderDynamicMBean;
Exceptions buildDynamicMBeanInfo ()V returnClassName returnClass name
readMethod Ljava/lang/reflect/Method; writeMethod i I constructors [Ljava/lang/reflect/Constructor; bi Ljava/beans/BeanInfo; pd [Ljava/beans/PropertyDescriptor; size params &[Ljavax/management/MBeanParameterInfo; isSupportedType (Ljava/lang/Class;)Z clazz getMBeanInfo ()Ljavax/management/MBeanInfo; attribs &[Ljavax/management/MBeanAttributeInfo; invoke L(Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; oh $Lorg/apache/log4j/spi/OptionHandler; layout Lorg/apache/log4j/Layout;
operationName [Ljava/lang/Object; signature [Ljava/lang/String;?? registerLayoutMBean (Lorg/apache/log4j/Layout;)V
appenderMBean )Lorg/apache/log4j/jmx/LayoutDynamicMBean; e Ljavax/management/JMException; #Ljava/beans/IntrospectionException; Ljava/lang/RuntimeException;
objectName Ljavax/management/ObjectName; getLogger ()Lorg/apache/log4j/Logger; getAttribute &(Ljava/lang/String;)Ljava/lang/Object; /Ljavax/management/MalformedObjectNameException; "Ljava/lang/IllegalAccessException; -Ljava/lang/reflect/InvocationTargetException;
attributeName mu "Lorg/apache/log4j/jmx/MethodUnion; setAttribute (Ljavax/management/Attribute;)V o [Ljava/lang/Class; attribute Ljavax/management/Attribute; value Ljava/lang/Object;? preRegister Z(Ljavax/management/MBeanServer;Ljavax/management/ObjectName;)Ljavax/management/ObjectName; server Ljavax/management/MBeanServer; class$ %(Ljava/lang/String;)Ljava/lang/Class; x1 "Ljava/lang/ClassNotFoundException; x0
SourceFile AppenderDynamicMBean.java?? java/lang/ClassNotFoundException java/lang/NoClassDefFoundError ? ??? %javax/management/MBeanConstructorInfo ? ? java/util/Vector ? ????? ? ? java/util/Hashtable ?? ? ? #javax/management/MBeanOperationInfo ? ? ;This MBean acts as a management facade for log4j appenders. ? ? ? ? ? ??? BAppenderDynamicMBean(): Constructs a AppenderDynamicMBean instance ???????????????? ? ? ? ? org.apache.log4j.Priority ? ? ? java.lang.String #javax/management/MBeanAttributeInfo Dynamic ???? org/apache/log4j/jmx/MethodUnion ???? #javax/management/MBeanParameterInfo activateOptions "activateOptions(): add an appender void ?? layout class ?? setLayout setLayout(): add a layout?? ? ? ? ? getMBeanInfo called.??? ???? javax/management/MBeanInfo &javax/management/MBeanNotificationInfo ???? "org/apache/log4j/spi/OptionHandler7 ? Options activated. java/lang/String ? ? org.apache.log4j.Layout??? org/apache/log4j/Layout?= ? ? ? java/lang/StringBuffer???? ,layout=?? Adding LayoutMBean: 'org/apache/log4j/jmx/LayoutDynamicMBean ? ? javax/management/ObjectName log4j:appender= ?? ? ?????? appender= javax.management.ObjectName The layout. javax/management/JMException &Could not add DynamicLayoutMBean for [ ].?? !java/beans/IntrospectionException java/lang/RuntimeException +javax/management/RuntimeOperationsException "java/lang/IllegalArgumentException Attribute name cannot be null Cannot invoke a getter of with null attribute name ?? getAttribute called with [ ,layout?? log4j: -javax/management/MalformedObjectNameException?? ? ? ?? java/lang/IllegalAccessException +java/lang/reflect/InvocationTargetException?? java/lang/InterruptedException java/io/InterruptedIOException???? ? +javax/management/AttributeNotFoundException Cannot find attribute in Attribute cannot be null Cannot invoke a setter of with null attribute??? Cannot invoke the setter of ? ? java/lang/Object?? ? ? org/apache/log4j/Level?? FIXME .layout??
Attribute not found in preRegister called. Server=?? , name=?? ? ? )org.apache.log4j.jmx.AppenderDynamicMBean ?? )org/apache/log4j/jmx/AppenderDynamicMBean )org/apache/log4j/jmx/AbstractDynamicMBean javax/management/MBeanException $javax/management/ReflectionException /javax/management/InvalidAttributeValueException java/lang/Class forName initCause ,(Ljava/lang/Throwable;)Ljava/lang/Throwable; getClass ()Ljava/lang/Class; getName ()Ljava/lang/String; (I)V getConstructors "()[Ljava/lang/reflect/Constructor; 4(Ljava/lang/String;Ljava/lang/reflect/Constructor;)V java/beans/Introspector getBeanInfo ((Ljava/lang/Class;)Ljava/beans/BeanInfo; java/beans/BeanInfo getPropertyDescriptors "()[Ljava/beans/PropertyDescriptor; java/beans/PropertyDescriptor
getReadMethod ()Ljava/lang/reflect/Method; getWriteMethod java/lang/reflect/Method
getReturnType isAssignableFrom <(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZZZ)V add (Ljava/lang/Object;)Z 7(Ljava/lang/reflect/Method;Ljava/lang/reflect/Method;)V put 8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; `(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanParameterInfo;Ljava/lang/String;I)V 9(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V isPrimitive ()Z org/apache/log4j/Logger debug (Ljava/lang/Object;)V ()I toArray (([Ljava/lang/Object;)[Ljava/lang/Object; ?(Ljava/lang/String;Ljava/lang/String;[Ljavax/management/MBeanAttributeInfo;[Ljavax/management/MBeanConstructorInfo;[Ljavax/management/MBeanOperationInfo;[Ljavax/management/MBeanNotificationInfo;)V equals (org/apache/log4j/helpers/OptionConverter instantiateByClassName I(Ljava/lang/String;Ljava/lang/Class;Ljava/lang/Object;)Ljava/lang/Object; org/apache/log4j/Appender getAppenderName /(Lorg/apache/log4j/Appender;)Ljava/lang/String; append ,(Ljava/lang/String;)Ljava/lang/StringBuffer; toString (Ljava/lang/String;)V javax/management/MBeanServer isRegistered (Ljavax/management/ObjectName;)Z
registerMBean 2(Ljava/lang/Object;Ljavax/management/ObjectName;)V error *(Ljava/lang/Object;Ljava/lang/Throwable;)V 1(Ljava/lang/RuntimeException;Ljava/lang/String;)V
startsWith (Ljava/lang/String;)Z get &(Ljava/lang/Object;)Ljava/lang/Object; 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; getTargetException ()Ljava/lang/Throwable; java/lang/Thread
currentThread ()Ljava/lang/Thread; interrupt javax/management/Attribute getValue ()Ljava/lang/Object; getParameterTypes ()[Ljava/lang/Class; toLevel D(Ljava/lang/String;Lorg/apache/log4j/Level;)Lorg/apache/log4j/Level; endsWith ,(Ljava/lang/Object;)Ljava/lang/StringBuffer; getLayout ()Lorg/apache/log4j/Layout; ,(Ljava/lang/Class;)Lorg/apache/log4j/Logger; ! ? ? ? ? ? ? ? ? ? ? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? F*? *? ? *? Y?
? **? ?
? *? Y? ? *? ? *? *+? *? ? ? *
H 9 : ; " = . > 6 ? <