final class com.sun.jndi.cosnaming.CNBindingEnumeration implements javax.naming.NamingEnumeration<javax.naming.Binding>
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.jndi.cosnaming.CNBindingEnumeration
super_class: java.lang.Object
{
private static final int DEFAULT_BATCHSIZE;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 100
private org.omg.CosNaming.BindingListHolder _bindingList;
descriptor: Lorg/omg/CosNaming/BindingListHolder;
flags: (0x0002) ACC_PRIVATE
private org.omg.CosNaming.BindingIterator _bindingIter;
descriptor: Lorg/omg/CosNaming/BindingIterator;
flags: (0x0002) ACC_PRIVATE
private int counter;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private int batchsize;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private com.sun.jndi.cosnaming.CNCtx _ctx;
descriptor: Lcom/sun/jndi/cosnaming/CNCtx;
flags: (0x0002) ACC_PRIVATE
private java.util.Hashtable<?, ?> _env;
descriptor: Ljava/util/Hashtable;
flags: (0x0002) ACC_PRIVATE
Signature: Ljava/util/Hashtable<**>;
private boolean more;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean isLookedUpCtx;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.jndi.cosnaming.CNCtx, boolean, java.util.Hashtable<?, ?>);
descriptor: (Lcom/sun/jndi/cosnaming/CNCtx;ZLjava/util/Hashtable;)V
flags: (0x0000)
Code:
stack=5, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
bipush 100
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.batchsize:I
2: aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
3: aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.isLookedUpCtx:Z
4: aload 3
ifnull 6
5: aload 3
ldc "java.naming.batchsize"
invokevirtual java.util.Hashtable.get:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
goto 7
StackMap locals: com.sun.jndi.cosnaming.CNBindingEnumeration com.sun.jndi.cosnaming.CNCtx int java.util.Hashtable
StackMap stack:
6: aconst_null
7: StackMap locals:
StackMap stack: java.lang.String
astore 4
start local 4 8: aload 4
ifnull 13
9: aload 0
aload 4
invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.batchsize:I
10: goto 13
StackMap locals: com.sun.jndi.cosnaming.CNBindingEnumeration com.sun.jndi.cosnaming.CNCtx int java.util.Hashtable java.lang.String
StackMap stack: java.lang.NumberFormatException
11: pop
12: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Batch size not numeric: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
13: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
14: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
invokevirtual com.sun.jndi.cosnaming.CNCtx.incEnumCount:()V
15: aload 0
iload 2
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.isLookedUpCtx:Z
16: aload 0
aload 3
putfield com.sun.jndi.cosnaming.CNBindingEnumeration._env:Ljava/util/Hashtable;
17: aload 0
new org.omg.CosNaming.BindingListHolder
dup
invokespecial org.omg.CosNaming.BindingListHolder.<init>:()V
putfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
18: new org.omg.CosNaming.BindingIteratorHolder
dup
invokespecial org.omg.CosNaming.BindingIteratorHolder.<init>:()V
astore 5
start local 5 19: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
getfield com.sun.jndi.cosnaming.CNCtx._nc:Lorg/omg/CosNaming/NamingContext;
iconst_0
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
aload 5
invokeinterface org.omg.CosNaming.NamingContext.list:(ILorg/omg/CosNaming/BindingListHolder;Lorg/omg/CosNaming/BindingIteratorHolder;)V
20: aload 0
aload 5
getfield org.omg.CosNaming.BindingIteratorHolder.value:Lorg/omg/CosNaming/BindingIterator;
putfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
21: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
ifnull 24
22: aload 0
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.batchsize:I
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
invokeinterface org.omg.CosNaming.BindingIterator.next_n:(ILorg/omg/CosNaming/BindingListHolder;)Z
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
23: goto 25
24: StackMap locals: org.omg.CosNaming.BindingIteratorHolder
StackMap stack:
aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
25: StackMap locals:
StackMap stack:
aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
26: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 27 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
0 27 1 ctx Lcom/sun/jndi/cosnaming/CNCtx;
0 27 2 isLookedUpCtx Z
0 27 3 env Ljava/util/Hashtable<**>;
8 27 4 batch Ljava/lang/String;
19 27 5 _bindingIterH Lorg/omg/CosNaming/BindingIteratorHolder;
Exception table:
from to target type
9 10 11 Class java.lang.NumberFormatException
Signature: (Lcom/sun/jndi/cosnaming/CNCtx;ZLjava/util/Hashtable<**>;)V
MethodParameters:
Name Flags
ctx
isLookedUpCtx
env
public javax.naming.Binding next();
descriptor: ()Ljavax/naming/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
ifeq 2
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
getfield org.omg.CosNaming.BindingListHolder.value:[Lorg/omg/CosNaming/Binding;
arraylength
if_icmplt 2
1: aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.getMore:()Z
pop
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
ifeq 6
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
getfield org.omg.CosNaming.BindingListHolder.value:[Lorg/omg/CosNaming/Binding;
arraylength
if_icmpge 6
3: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
getfield org.omg.CosNaming.BindingListHolder.value:[Lorg/omg/CosNaming/Binding;
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
aaload
astore 1
start local 1 4: aload 0
dup
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
iconst_1
iadd
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
5: aload 0
aload 1
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.mapBinding:(Lorg/omg/CosNaming/Binding;)Ljavax/naming/Binding;
areturn
end local 1 6: StackMap locals:
StackMap stack:
new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
4 6 1 bndg Lorg/omg/CosNaming/Binding;
Exceptions:
throws javax.naming.NamingException
public boolean hasMore();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
ifeq 2
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
getfield org.omg.CosNaming.BindingListHolder.value:[Lorg/omg/CosNaming/Binding;
arraylength
if_icmplt 1
aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.getMore:()Z
ifne 1
iconst_0
goto 3
StackMap locals:
StackMap stack:
1: iconst_1
goto 3
StackMap locals:
StackMap stack:
2: iconst_0
StackMap locals:
StackMap stack: int
3: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
Exceptions:
throws javax.naming.NamingException
public boolean hasMoreElements();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.hasMore:()Z
1: ireturn
2: StackMap locals:
StackMap stack: javax.naming.NamingException
pop
3: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
public javax.naming.Binding nextElement();
descriptor: ()Ljavax/naming/Binding;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.next:()Ljavax/naming/Binding;
1: areturn
2: StackMap locals:
StackMap stack: javax.naming.NamingException
pop
3: new java.util.NoSuchElementException
dup
invokespecial java.util.NoSuchElementException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
public void close();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
1: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
ifnull 4
2: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
invokeinterface org.omg.CosNaming.BindingIterator.destroy:()V
3: aload 0
aconst_null
putfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
4: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
ifnull 9
5: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
invokevirtual com.sun.jndi.cosnaming.CNCtx.decEnumCount:()V
6: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.isLookedUpCtx:Z
ifeq 8
7: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
invokevirtual com.sun.jndi.cosnaming.CNCtx.close:()V
8: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
9: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
Exceptions:
throws javax.naming.NamingException
protected void finalize();
descriptor: ()V
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.close:()V
1: goto 3
StackMap locals:
StackMap stack: javax.naming.NamingException
2: pop
3: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
Exception table:
from to target type
0 1 2 Class javax.naming.NamingException
private boolean getMore();
descriptor: ()Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=1
start local 0 0: aload 0
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingIter:Lorg/omg/CosNaming/BindingIterator;
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.batchsize:I
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._bindingList:Lorg/omg/CosNaming/BindingListHolder;
invokeinterface org.omg.CosNaming.BindingIterator.next_n:(ILorg/omg/CosNaming/BindingListHolder;)Z
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
1: aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.counter:I
2: goto 10
StackMap locals:
StackMap stack: java.lang.Exception
3: astore 1
start local 1 4: aload 0
iconst_0
putfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
5: new javax.naming.NamingException
dup
6: ldc "Problem getting binding list"
7: invokespecial javax.naming.NamingException.<init>:(Ljava/lang/String;)V
astore 2
start local 2 8: aload 2
aload 1
invokevirtual javax.naming.NamingException.setRootCause:(Ljava/lang/Throwable;)V
9: aload 2
athrow
end local 2 end local 1 10: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration.more:Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
4 10 1 e Ljava/lang/Exception;
8 10 2 ne Ljavax/naming/NamingException;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
private javax.naming.Binding mapBinding(org.omg.CosNaming.Binding);
descriptor: (Lorg/omg/CosNaming/Binding;)Ljavax/naming/Binding;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=8, args_size=2
start local 0 start local 1 0: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
aload 1
getfield org.omg.CosNaming.Binding.binding_name:[Lorg/omg/CosNaming/NameComponent;
invokevirtual com.sun.jndi.cosnaming.CNCtx.callResolve:([Lorg/omg/CosNaming/NameComponent;)Ljava/lang/Object;
astore 2
start local 2 1: aload 1
getfield org.omg.CosNaming.Binding.binding_name:[Lorg/omg/CosNaming/NameComponent;
invokestatic com.sun.jndi.cosnaming.CNNameParser.cosNameToName:([Lorg/omg/CosNaming/NameComponent;)Ljavax/naming/Name;
astore 3
start local 3 2: aload 2
invokestatic com.sun.jndi.toolkit.corba.CorbaUtils.isObjectFactoryTrusted:(Ljava/lang/Object;)Z
ifeq 13
3: aload 2
aload 3
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._env:Ljava/util/Hashtable;
invokestatic javax.naming.spi.NamingManager.getObjectInstance:(Ljava/lang/Object;Ljavax/naming/Name;Ljavax/naming/Context;Ljava/util/Hashtable;)Ljava/lang/Object;
astore 2
4: goto 13
StackMap locals: com.sun.jndi.cosnaming.CNBindingEnumeration org.omg.CosNaming.Binding java.lang.Object javax.naming.Name
StackMap stack: javax.naming.NamingException
5: astore 4
start local 4 6: aload 4
athrow
end local 4 7: StackMap locals:
StackMap stack: java.lang.Exception
astore 4
start local 4 8: new javax.naming.NamingException
dup
9: ldc "problem generating object using object factory"
10: invokespecial javax.naming.NamingException.<init>:(Ljava/lang/String;)V
astore 5
start local 5 11: aload 5
aload 4
invokevirtual javax.naming.NamingException.setRootCause:(Ljava/lang/Throwable;)V
12: aload 5
athrow
end local 5 end local 4 13: StackMap locals:
StackMap stack:
aload 3
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
astore 4
start local 4 14: new javax.naming.Binding
dup
aload 4
aload 2
invokespecial javax.naming.Binding.<init>:(Ljava/lang/String;Ljava/lang/Object;)V
astore 5
start local 5 15: aload 0
getfield com.sun.jndi.cosnaming.CNBindingEnumeration._ctx:Lcom/sun/jndi/cosnaming/CNCtx;
aload 1
getfield org.omg.CosNaming.Binding.binding_name:[Lorg/omg/CosNaming/NameComponent;
invokevirtual com.sun.jndi.cosnaming.CNCtx.makeFullName:([Lorg/omg/CosNaming/NameComponent;)[Lorg/omg/CosNaming/NameComponent;
astore 6
start local 6 16: aload 6
invokestatic com.sun.jndi.cosnaming.CNNameParser.cosNameToInsString:([Lorg/omg/CosNaming/NameComponent;)Ljava/lang/String;
astore 7
start local 7 17: aload 5
aload 7
invokevirtual javax.naming.Binding.setNameInNamespace:(Ljava/lang/String;)V
18: aload 5
areturn
end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 19 0 this Lcom/sun/jndi/cosnaming/CNBindingEnumeration;
0 19 1 bndg Lorg/omg/CosNaming/Binding;
1 19 2 obj Ljava/lang/Object;
2 19 3 cname Ljavax/naming/Name;
6 7 4 e Ljavax/naming/NamingException;
8 13 4 e Ljava/lang/Exception;
11 13 5 ne Ljavax/naming/NamingException;
14 19 4 cnameStr Ljava/lang/String;
15 19 5 jbndg Ljavax/naming/Binding;
16 19 6 comps [Lorg/omg/CosNaming/NameComponent;
17 19 7 fullName Ljava/lang/String;
Exception table:
from to target type
2 4 5 Class javax.naming.NamingException
2 4 7 Class java.lang.Exception
Exceptions:
throws javax.naming.NamingException
MethodParameters:
Name Flags
bndg
public java.lang.Object next();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.next:()Ljavax/naming/Binding;
areturn
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws javax.naming.NamingException
public java.lang.Object nextElement();
descriptor: ()Ljava/lang/Object;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual com.sun.jndi.cosnaming.CNBindingEnumeration.nextElement:()Ljavax/naming/Binding;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
Signature: Ljava/lang/Object;Ljavax/naming/NamingEnumeration<Ljavax/naming/Binding;>;
SourceFile: "CNBindingEnumeration.java"