org.apache.activemq.broker.jmx.ManagementContext.class Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of activemq-core Show documentation
Show all versions of activemq-core Show documentation
The ActiveMQ Message Broker and Client implementations
???? 1 \- \. \/ \0
\1
b23 \4 \5 \6 \7 \89 \: \;< \=>
?@
2 \A \B
C
\D \E ? UFGHK
L
MN
MOPQRSRTU UVPW
X
YZ[\
,2]
,^
+_
,`ab ? \c
dePfPg
dh
\i
Yjkl
\mn
&opqras
tu
`v
\wx
ty
tz
t{
|} U~ UP? U? U?P?
\?P?P??
\???a????
`?
\???
`??
??
\??
,?????a???a?
???
M?
M?
d? \?
???
&??
`?
`???
??
{? U??
p?a??a?I \?
\?
,????
?o
??
??? DEFAULT_DOMAIN Ljava/lang/String;
ConstantValue LOG Lorg/apache/commons/logging/Log;
beanServer Ljavax/management/MBeanServer;
jmxDomainName useMBeanServer Z createMBeanServer locallyCreateMBeanServer createConnector findTigerMbeanServer
connectorHost
connectorPort I
rmiServerPort
connectorPath started +Ljava/util/concurrent/atomic/AtomicBoolean; connectorStarting connectorServer ,Ljavax/management/remote/JMXConnectorServer; namingServiceObjectName Ljavax/management/ObjectName; registry Ljava/rmi/registry/Registry; registeredMBeanNames Ljava/util/List; Signature /Ljava/util/List; ()V Code LineNumberTable LocalVariableTable this 2Lorg/apache/activemq/broker/jmx/ManagementContext; !(Ljavax/management/MBeanServer;)V server start ignore Ljava/lang/Throwable; t Ljava/lang/Thread;
Exceptions stop name iter Ljava/util/Iterator; e Ljava/io/IOException; list mbeanServer LocalVariableTypeTable 3Ljava/util/Iterator; getJmxDomainName ()Ljava/lang/String; setJmxDomainName (Ljava/lang/String;)V getMBeanServer ()Ljavax/management/MBeanServer; setMBeanServer isUseMBeanServer ()Z setUseMBeanServer (Z)V isCreateMBeanServer setCreateMBeanServer enableJMX isFindTigerMbeanServer isConnectorStarted setFindTigerMbeanServer createCustomComponentMBeanName C(Ljava/lang/String;Ljava/lang/String;)Ljavax/management/ObjectName; /Ljavax/management/MalformedObjectNameException; type result tmp sanitizeString &(Ljava/lang/String;)Ljava/lang/String; in getSystemObjectName T(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)Ljavax/management/ObjectName;
domainName
containerName theClass Ljava/lang/Class;? getRelativeName 7(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/String; index newProxyInstance C(Ljavax/management/ObjectName;Ljava/lang/Class;Z)Ljava/lang/Object;
objectName interfaceClass notificationBroadcaster getAttribute C(Ljavax/management/ObjectName;Ljava/lang/String;)Ljava/lang/Object; attribute
registerMBean R(Ljava/lang/Object;Ljavax/management/ObjectName;)Ljavax/management/ObjectInstance; bean Ljava/lang/Object; !Ljavax/management/ObjectInstance;
queryNames I(Ljavax/management/ObjectName;Ljavax/management/QueryExp;)Ljava/util/Set; query Ljavax/management/QueryExp; unregisterMBean (Ljavax/management/ObjectName;)V? findMBeanServer Ljava/lang/NoClassDefFoundError; findTigerMBeanServer answer method Ljava/lang/reflect/Method; Ljava/lang/Exception; loadClass <(Ljava/lang/String;Ljava/lang/ClassLoader;)Ljava/lang/Class; e1 "Ljava/lang/ClassNotFoundException; loader Ljava/lang/ClassLoader; cl attr Ljavax/management/Attribute; rmiServer
serviceURL url 'Ljavax/management/remote/JMXServiceURL;? getConnectorPath setConnectorPath getConnectorPort ()I setConnectorPort (I)V getRmiServerPort setRmiServerPort isCreateConnector setCreateConnector getConnectorHost setConnectorHost
access$000 `(Lorg/apache/activemq/broker/jmx/ManagementContext;)Ljavax/management/remote/JMXConnectorServer; x0
access$100 _(Lorg/apache/activemq/broker/jmx/ManagementContext;)Ljava/util/concurrent/atomic/AtomicBoolean;
access$200 "()Lorg/apache/commons/logging/Log;
access$300
SourceFile ManagementContext.java ? ? ? ? ? ? ? ? ? ? ? ? org.apache.activemq ? ? ? ? ? ? ? ? ? ? localhost ? ? ? ? /jmxrmi ? ? )java/util/concurrent/atomic/AtomicBoolean ? ? )java/util/concurrent/CopyOnWriteArrayList ? ? ? ??? ? ? ? ??? java/lang/Throwable 2org/apache/activemq/broker/jmx/ManagementContext$1 InnerClasses
JMX connector ???? ? ? ?????? ??? javax/management/ObjectName ? ?? ?? ?? ? ? java/io/IOException java/lang/StringBuilder Failed to stop jmx connector: ??? ?? ???? ? ???? ???? ? ?? ? : type= ? ? ,name= ? ? -javax/management/MalformedObjectNameException !Couldn't create ObjectName from: , ?????? ? ? ? .?????? ?? ? ? ? ??? ? ????? ???? javax/management/MBeanServer ? ? java/lang/NoClassDefFoundError Could not load MBeanServer?? Failed to initialize MBeanServer &java.lang.management.ManagementFactory 0org/apache/activemq/broker/jmx/ManagementContext?? getPlatformMBeanServer java/lang/Class?? java/lang/Object?? ? ? Could not cast: ? H into an MBeanServer. There must be some classloader strangeness in town AMethod getPlatformMBeanServer() does not appear visible on type: java/lang/Exception 0Failed to call getPlatformMBeanServer() due to: ?? Class not found: so probably running on Java 1.4? java/lang/ClassNotFoundException? ? ? ?
naming:type=rmiregistry
mx4j.tools.naming.NamingService? javax/management/Attribute Port ? Probably not using JRE 1.4: ?? Failed to create local registry? ? ? ?? service:jmx:rmi:// /jndi/rmi:// %javax/management/remote/JMXServiceURL org/apache/activemq/Service java/lang/NullPointerException javax/management/JMException java/net/MalformedURLException
compareAndSet (ZZ)Z invoke i(Ljavax/management/ObjectName;Ljava/lang/String;[Ljava/lang/Object;[Ljava/lang/String;)Ljava/lang/Object; G(Lorg/apache/activemq/broker/jmx/ManagementContext;Ljava/lang/String;)V java/lang/Thread setDaemon java/util/List iterator ()Ljava/util/Iterator; java/util/Iterator hasNext next ()Ljava/lang/Object; clear get *javax/management/remote/JMXConnectorServer append -(Ljava/lang/String;)Ljava/lang/StringBuilder;
getMessage toString org/apache/commons/logging/Log warn (Ljava/lang/Object;)V #javax/management/MBeanServerFactory )(Ljava/lang/String;)Ljava/util/ArrayList; isEmpty contains (Ljava/lang/Object;)Z releaseMBeanServer isActive error java/lang/String replace (CC)Ljava/lang/String; getName lastIndexOf (Ljava/lang/String;)I length substring (I)Ljava/lang/String; -javax/management/MBeanServerInvocationHandler k(Ljavax/management/MBeanServerConnection;Ljavax/management/ObjectName;Ljava/lang/Class;Z)Ljava/lang/Object; add isRegistered (Ljavax/management/ObjectName;)Z remove size (I)Ljava/lang/Object; *(Ljava/lang/Object;Ljava/lang/Throwable;)V getClassLoader ()Ljava/lang/ClassLoader; getMethod @(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method; java/lang/reflect/Method 9(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; trace java/lang/ClassLoader %(Ljava/lang/String;)Ljava/lang/Class;
currentThread ()Ljava/lang/Thread; getContextClassLoader 2(Ljava/lang/String;)Ljavax/management/MBeanServer; java/rmi/registry/LocateRegistry createRegistry (I)Ljava/rmi/registry/Registry; getInstance 1(Ljava/lang/String;)Ljavax/management/ObjectName; forName newInstance java/lang/Integer valueOf (I)Ljava/lang/Integer; '(Ljava/lang/String;Ljava/lang/Object;)V setAttribute <(Ljavax/management/ObjectName;Ljavax/management/Attribute;)V getLocalizedMessage debug (I)Ljava/lang/StringBuilder; 1javax/management/remote/JMXConnectorServerFactory newJMXConnectorServer ?(Ljavax/management/remote/JMXServiceURL;Ljava/util/Map;Ljavax/management/MBeanServer;)Ljavax/management/remote/JMXConnectorServer; %org/apache/commons/logging/LogFactory getLog 3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log; ! \ b ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? , ? ? ? 4 *? ? ?
N O ? ? ? ? ? ? ? Z*? *? *? *?
*? *? *
? *K? *? *? Y? ? *? Y? ? *? Y? ? *+? ? ? : Q <