final class javax.management.remote.JMXConnectorFactory$ProviderFinder<P, C> implements java.util.function.Predicate<java.util.ServiceLoader$Provider<P>>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: javax.management.remote.JMXConnectorFactory$ProviderFinder
super_class: java.lang.Object
{
final javax.management.remote.JMXConnectorFactory$ConnectorFactory<P, C> factory;
descriptor: Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;
flags: (0x0010) ACC_FINAL
Signature: Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory<TP;TC;>;
final javax.management.remote.JMXServiceURL url;
descriptor: Ljavax/management/remote/JMXServiceURL;
flags: (0x0010) ACC_FINAL
private java.io.IOException exception;
descriptor: Ljava/io/IOException;
flags: (0x0002) ACC_PRIVATE
private C connection;
descriptor: Ljava/lang/Object;
flags: (0x0002) ACC_PRIVATE
Signature: TC;
void <init>(javax.management.remote.JMXConnectorFactory$ConnectorFactory<P, C>, javax.management.remote.JMXServiceURL);
descriptor: (Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;Ljavax/management/remote/JMXServiceURL;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aconst_null
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.exception:Ljava/io/IOException;
2: aload 0
aconst_null
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.connection:Ljava/lang/Object;
3: aload 0
aload 1
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.factory:Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;
4: aload 0
aload 2
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.url:Ljavax/management/remote/JMXServiceURL;
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Ljavax/management/remote/JMXConnectorFactory$ProviderFinder<TP;TC;>;
0 6 1 factory Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory<TP;TC;>;
0 6 2 url Ljavax/management/remote/JMXServiceURL;
Signature: (Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory<TP;TC;>;Ljavax/management/remote/JMXServiceURL;)V
MethodParameters:
Name Flags
factory
url
public boolean test(java.util.ServiceLoader$Provider<P>);
descriptor: (Ljava/util/ServiceLoader$Provider;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.connection:Ljava/lang/Object;
ifnonnull 23
1: aload 1
invokeinterface java.util.ServiceLoader$Provider.get:()Ljava/lang/Object;
astore 2
start local 2 2: aload 0
aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.factory:Ljavax/management/remote/JMXConnectorFactory$ConnectorFactory;
aload 2
invokeinterface javax.management.remote.JMXConnectorFactory$ConnectorFactory.apply:(Ljava/lang/Object;)Ljava/lang/Object;
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.connection:Ljava/lang/Object;
3: aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.connection:Ljava/lang/Object;
ifnull 4
iconst_1
ireturn
StackMap locals: java.lang.Object
StackMap stack:
4: iconst_0
5: ireturn
6: StackMap locals:
StackMap stack: javax.management.remote.JMXProviderException
astore 3
start local 3 7: new java.io.UncheckedIOException
dup
aload 3
invokespecial java.io.UncheckedIOException.<init>:(Ljava/io/IOException;)V
athrow
end local 3 8: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 9: getstatic javax.management.remote.JMXConnectorFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
invokevirtual com.sun.jmx.remote.util.ClassLogger.traceOn:()Z
ifeq 15
10: getstatic javax.management.remote.JMXConnectorFactory.logger:Lcom/sun/jmx/remote/util/ClassLogger;
ldc "getConnectorAsService"
11: new java.lang.StringBuilder
dup
ldc "URL["
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.url:Ljavax/management/remote/JMXServiceURL;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
12: ldc "] Service provider exception: "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
13: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
14: invokevirtual com.sun.jmx.remote.util.ClassLogger.trace:(Ljava/lang/String;Ljava/lang/String;)V
15: StackMap locals: java.lang.Exception
StackMap stack:
aload 3
instanceof java.net.MalformedURLException
ifne 23
16: aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.exception:Ljava/io/IOException;
ifnonnull 23
17: aload 3
instanceof java.io.IOException
ifeq 20
18: aload 0
aload 3
checkcast java.io.IOException
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.exception:Ljava/io/IOException;
19: goto 23
20: StackMap locals:
StackMap stack:
aload 0
21: new java.io.IOException
dup
aload 3
invokevirtual java.lang.Exception.getMessage:()Ljava/lang/String;
invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
aload 3
22: invokestatic com.sun.jmx.remote.util.EnvHelp.initCause:(Ljava/lang/Throwable;Ljava/lang/Throwable;)Ljava/lang/Throwable;
checkcast java.io.IOException
putfield javax.management.remote.JMXConnectorFactory$ProviderFinder.exception:Ljava/io/IOException;
end local 3 end local 2 23: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Ljavax/management/remote/JMXConnectorFactory$ProviderFinder<TP;TC;>;
0 24 1 sp Ljava/util/ServiceLoader$Provider<TP;>;
2 23 2 provider TP;
7 8 3 e Ljavax/management/remote/JMXProviderException;
9 23 3 e Ljava/lang/Exception;
Exception table:
from to target type
2 5 6 Class javax.management.remote.JMXProviderException
2 5 8 Class java.lang.Exception
Signature: (Ljava/util/ServiceLoader$Provider<TP;>;)Z
MethodParameters:
Name Flags
sp
C get();
descriptor: ()Ljava/lang/Object;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.connection:Ljava/lang/Object;
ifnull 1
aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.connection:Ljava/lang/Object;
areturn
1: StackMap locals:
StackMap stack:
aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.exception:Ljava/io/IOException;
ifnull 2
aload 0
getfield javax.management.remote.JMXConnectorFactory$ProviderFinder.exception:Ljava/io/IOException;
athrow
2: StackMap locals:
StackMap stack:
aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Ljavax/management/remote/JMXConnectorFactory$ProviderFinder<TP;TC;>;
Exceptions:
throws java.io.IOException
Signature: ()TC;
public boolean test(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=2, locals=2, args_size=2
0: aload 0
aload 1
checkcast java.util.ServiceLoader$Provider
invokevirtual javax.management.remote.JMXConnectorFactory$ProviderFinder.test:(Ljava/util/ServiceLoader$Provider;)Z
ireturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: <P:Ljava/lang/Object;C:Ljava/lang/Object;>Ljava/lang/Object;Ljava/util/function/Predicate<Ljava/util/ServiceLoader$Provider<TP;>;>;
SourceFile: "JMXConnectorFactory.java"
NestHost: javax.management.remote.JMXConnectorFactory
InnerClasses:
public abstract Provider = java.util.ServiceLoader$Provider of java.util.ServiceLoader
abstract ConnectorFactory = javax.management.remote.JMXConnectorFactory$ConnectorFactory of javax.management.remote.JMXConnectorFactory
private final ProviderFinder = javax.management.remote.JMXConnectorFactory$ProviderFinder of javax.management.remote.JMXConnectorFactory