public abstract class com.sun.xml.internal.ws.server.AbstractWebServiceContext implements com.sun.xml.internal.ws.api.server.WSWebServiceContext
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: com.sun.xml.internal.ws.server.AbstractWebServiceContext
super_class: java.lang.Object
{
private final com.sun.xml.internal.ws.api.server.WSEndpoint endpoint;
descriptor: Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(com.sun.xml.internal.ws.api.server.WSEndpoint);
descriptor: (Lcom/sun/xml/internal/ws/api/server/WSEndpoint;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield com.sun.xml.internal.ws.server.AbstractWebServiceContext.endpoint:Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/xml/internal/ws/server/AbstractWebServiceContext;
0 3 1 endpoint Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
RuntimeInvisibleParameterAnnotations:
0:
com.sun.istack.internal.NotNull()
MethodParameters:
Name Flags
endpoint
public javax.xml.ws.handler.MessageContext getMessageContext();
descriptor: ()Ljavax/xml/ws/handler/MessageContext;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.ws.server.AbstractWebServiceContext.getRequestPacket:()Lcom/sun/xml/internal/ws/api/message/Packet;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "getMessageContext() can only be called while servicing a request"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.xml.internal.ws.api.message.Packet
StackMap stack:
new com.sun.xml.internal.ws.server.EndpointMessageContextImpl
dup
aload 1
invokespecial com.sun.xml.internal.ws.server.EndpointMessageContextImpl.<init>:(Lcom/sun/xml/internal/ws/api/message/Packet;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/server/AbstractWebServiceContext;
1 4 1 packet Lcom/sun/xml/internal/ws/api/message/Packet;
public java.security.Principal getUserPrincipal();
descriptor: ()Ljava/security/Principal;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.xml.internal.ws.server.AbstractWebServiceContext.getRequestPacket:()Lcom/sun/xml/internal/ws/api/message/Packet;
astore 1
start local 1 1: aload 1
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "getUserPrincipal() can only be called while servicing a request"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.xml.internal.ws.api.message.Packet
StackMap stack:
aload 1
getfield com.sun.xml.internal.ws.api.message.Packet.webServiceContextDelegate:Lcom/sun/xml/internal/ws/api/server/WebServiceContextDelegate;
aload 1
invokeinterface com.sun.xml.internal.ws.api.server.WebServiceContextDelegate.getUserPrincipal:(Lcom/sun/xml/internal/ws/api/message/Packet;)Ljava/security/Principal;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/server/AbstractWebServiceContext;
1 4 1 packet Lcom/sun/xml/internal/ws/api/message/Packet;
public boolean isUserInRole(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual com.sun.xml.internal.ws.server.AbstractWebServiceContext.getRequestPacket:()Lcom/sun/xml/internal/ws/api/message/Packet;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "isUserInRole() can only be called while servicing a request"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.xml.internal.ws.api.message.Packet
StackMap stack:
aload 2
getfield com.sun.xml.internal.ws.api.message.Packet.webServiceContextDelegate:Lcom/sun/xml/internal/ws/api/server/WebServiceContextDelegate;
aload 2
aload 1
invokeinterface com.sun.xml.internal.ws.api.server.WebServiceContextDelegate.isUserInRole:(Lcom/sun/xml/internal/ws/api/message/Packet;Ljava/lang/String;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/xml/internal/ws/server/AbstractWebServiceContext;
0 4 1 role Ljava/lang/String;
1 4 2 packet Lcom/sun/xml/internal/ws/api/message/Packet;
MethodParameters:
Name Flags
role
public javax.xml.ws.EndpointReference getEndpointReference(org.w3c.dom.Element[]);
descriptor: ([Lorg/w3c/dom/Element;)Ljavax/xml/ws/EndpointReference;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ldc Ljavax/xml/ws/wsaddressing/W3CEndpointReference;
aload 1
invokevirtual com.sun.xml.internal.ws.server.AbstractWebServiceContext.getEndpointReference:(Ljava/lang/Class;[Lorg/w3c/dom/Element;)Ljavax/xml/ws/EndpointReference;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/xml/internal/ws/server/AbstractWebServiceContext;
0 1 1 referenceParameters [Lorg/w3c/dom/Element;
MethodParameters:
Name Flags
referenceParameters
public <T extends javax.xml.ws.EndpointReference> T getEndpointReference(java.lang.Class<T>, org.w3c.dom.Element[]);
descriptor: (Ljava/lang/Class;[Lorg/w3c/dom/Element;)Ljavax/xml/ws/EndpointReference;
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=6, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.xml.internal.ws.server.AbstractWebServiceContext.getRequestPacket:()Lcom/sun/xml/internal/ws/api/message/Packet;
astore 3
start local 3 1: aload 3
ifnonnull 3
2: new java.lang.IllegalStateException
dup
ldc "getEndpointReference() can only be called while servicing a request"
invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: com.sun.xml.internal.ws.api.message.Packet
StackMap stack:
aload 3
getfield com.sun.xml.internal.ws.api.message.Packet.webServiceContextDelegate:Lcom/sun/xml/internal/ws/api/server/WebServiceContextDelegate;
aload 3
aload 0
getfield com.sun.xml.internal.ws.server.AbstractWebServiceContext.endpoint:Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
invokeinterface com.sun.xml.internal.ws.api.server.WebServiceContextDelegate.getEPRAddress:(Lcom/sun/xml/internal/ws/api/message/Packet;Lcom/sun/xml/internal/ws/api/server/WSEndpoint;)Ljava/lang/String;
astore 4
start local 4 4: aconst_null
astore 5
start local 5 5: aload 0
getfield com.sun.xml.internal.ws.server.AbstractWebServiceContext.endpoint:Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
invokevirtual com.sun.xml.internal.ws.api.server.WSEndpoint.getServiceDefinition:()Lcom/sun/xml/internal/ws/api/server/ServiceDefinition;
ifnull 7
6: aload 3
getfield com.sun.xml.internal.ws.api.message.Packet.webServiceContextDelegate:Lcom/sun/xml/internal/ws/api/server/WebServiceContextDelegate;
aload 3
aload 0
getfield com.sun.xml.internal.ws.server.AbstractWebServiceContext.endpoint:Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
invokeinterface com.sun.xml.internal.ws.api.server.WebServiceContextDelegate.getWSDLAddress:(Lcom/sun/xml/internal/ws/api/message/Packet;Lcom/sun/xml/internal/ws/api/server/WSEndpoint;)Ljava/lang/String;
astore 5
7: StackMap locals: java.lang.String java.lang.String
StackMap stack:
aload 1
aload 0
getfield com.sun.xml.internal.ws.server.AbstractWebServiceContext.endpoint:Lcom/sun/xml/internal/ws/api/server/WSEndpoint;
aload 1
aload 4
aload 5
aload 2
invokevirtual com.sun.xml.internal.ws.api.server.WSEndpoint.getEndpointReference:(Ljava/lang/Class;Ljava/lang/String;Ljava/lang/String;[Lorg/w3c/dom/Element;)Ljavax/xml/ws/EndpointReference;
invokevirtual java.lang.Class.cast:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast javax.xml.ws.EndpointReference
areturn
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 8 0 this Lcom/sun/xml/internal/ws/server/AbstractWebServiceContext;
0 8 1 clazz Ljava/lang/Class<TT;>;
0 8 2 referenceParameters [Lorg/w3c/dom/Element;
1 8 3 packet Lcom/sun/xml/internal/ws/api/message/Packet;
4 8 4 address Ljava/lang/String;
5 8 5 wsdlAddress Ljava/lang/String;
Signature: <T:Ljavax/xml/ws/EndpointReference;>(Ljava/lang/Class<TT;>;[Lorg/w3c/dom/Element;)TT;
MethodParameters:
Name Flags
clazz
referenceParameters
}
SourceFile: "AbstractWebServiceContext.java"