public class org.glassfish.webservices.WebServicesDeployer extends org.glassfish.javaee.core.deployment.JavaEEDeployer
{
public static final org.glassfish.webservices.WebServiceDeploymentNotifier deploymentNotifier;
private static final java.util.logging.Logger logger;
private final java.util.ResourceBundle rb;
private org.glassfish.api.container.RequestDispatcher dispatcher;
private com.sun.enterprise.deploy.shared.ArchiveFactory archiveFactory;
public void <init>()
{
java.util.ResourceBundle v;
java.util.logging.Logger v;
org.glassfish.webservices.WebServicesDeployer v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
specialinvoke v.<org.glassfish.javaee.core.deployment.JavaEEDeployer: void <init>()>();
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = virtualinvoke v.<java.util.logging.Logger: java.util.ResourceBundle getResourceBundle()>();
v.<org.glassfish.webservices.WebServicesDeployer: java.util.ResourceBundle rb> = v;
return;
}
protected void cleanArtifacts(org.glassfish.api.deployment.DeploymentContext) throws org.glassfish.deployment.common.DeploymentException
{
org.glassfish.webservices.WebServicesDeployer v;
org.glassfish.api.deployment.DeploymentContext v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
return;
}
public boolean prepare(org.glassfish.api.deployment.DeploymentContext)
{
org.glassfish.webservices.WebServicesDeployer v;
java.lang.'annotation'.Annotation[] v;
java.util.logging.Level v;
com.sun.enterprise.deployment.BundleDescriptor v;
java.lang.Thread v, v, v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.String v, v, v;
boolean v;
java.util.Iterator v;
org.glassfish.webservices.WebServiceDeploymentNotifier v;
org.glassfish.webservices.deployment.WebServicesDeploymentMBean v;
java.util.Collection v;
java.lang.RuntimeException v;
java.security.PrivilegedAction v;
java.util.logging.Logger v;
java.lang.Exception v;
java.util.List v;
com.sun.enterprise.deployment.WebServicesDescriptor v;
java.lang.Object v, v, v, v;
java.lang.ClassLoader v;
org.glassfish.hk.api.ServiceLocator v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
label:
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/Application;");
if v != null goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String)>(v, "AS-WSJSR109IMPL-00001");
label:
return 0;
label:
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: com.sun.enterprise.deployment.BundleDescriptor getCurrentBundleForContext(org.glassfish.api.deployment.DeploymentContext)>(v);
v = virtualinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.lang.String getModuleClassPath(org.glassfish.api.deployment.DeploymentContext)>(v);
v = <java.io.File: java.lang.String pathSeparator>;
v = staticinvoke <org.glassfish.loader.util.ASClassLoaderUtil: java.util.List getURLsFromClasspath(java.lang.String,java.lang.String,java.lang.String)>(v, v, null);
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
v = virtualinvoke v.<java.lang.Thread: java.lang.ClassLoader getContextClassLoader()>();
v = staticinvoke <org.glassfish.webservices.WebServicesDeployer$lambda_prepare_0__1: java.security.PrivilegedAction bootstrap$(java.util.List,java.lang.ClassLoader)>(v, v);
v = staticinvoke <java.security.AccessController: java.lang.Object doPrivileged(java.security.PrivilegedAction)>(v);
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
virtualinvoke v.<java.lang.Thread: void setContextClassLoader(java.lang.ClassLoader)>(v);
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: com.sun.enterprise.deployment.WebServicesDescriptor getWebServices()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getWebServices()>();
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
virtualinvoke v.<org.glassfish.webservices.WebServicesDeployer: void setupJaxWSServiceForDeployment(org.glassfish.api.deployment.DeploymentContext,com.sun.enterprise.deployment.WebService)>(v, v);
goto label;
label:
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void doWebServicesDeployment(com.sun.enterprise.deployment.Application,org.glassfish.api.deployment.DeploymentContext)>(v, v);
v = staticinvoke <java.lang.Thread: java.lang.Thread currentThread()>();
virtualinvoke v.<java.lang.Thread: void setContextClassLoader(java.lang.ClassLoader)>(v);
v = v.<org.glassfish.webservices.WebServicesDeployer: org.glassfish.hk.api.ServiceLocator habitat>;
v = newarray (java.lang.'annotation'.Annotation)[0];
v = interfaceinvoke v.<org.glassfish.hk.api.ServiceLocator: java.lang.Object getService(java.lang.Class,java.lang.'annotation'.Annotation[])>(class "Lorg/glassfish/webservices/WebServicesContainer;", v);
v = virtualinvoke v.<org.glassfish.webservices.WebServicesContainer: org.glassfish.webservices.deployment.WebServicesDeploymentMBean getDeploymentBean()>();
v = staticinvoke <org.glassfish.webservices.WebServicesDeployer: org.glassfish.webservices.WebServiceDeploymentNotifier getDeploymentNotifier()>();
virtualinvoke v.<org.glassfish.webservices.deployment.WebServicesDeploymentMBean: void deploy(com.sun.enterprise.deployment.WebServicesDescriptor,org.glassfish.webservices.WebServiceDeploymentNotifier)>(v, v);
label:
return 1;
label:
v := @caughtexception;
v = new java.lang.RuntimeException;
v = virtualinvoke v.<java.lang.Exception: java.lang.String getMessage()>();
specialinvoke v.<java.lang.RuntimeException: void <init>(java.lang.String)>(v);
virtualinvoke v.<java.lang.RuntimeException: java.lang.Throwable initCause(java.lang.Throwable)>(v);
throw v;
catch java.lang.Exception from label to label with label;
catch java.lang.Exception from label to label with label;
}
protected void setupJaxWSServiceForDeployment(org.glassfish.api.deployment.DeploymentContext, com.sun.enterprise.deployment.WebService) throws org.glassfish.deployment.common.DeploymentException
{
org.glassfish.webservices.WebServicesDeployer v;
java.net.URL v;
org.glassfish.deployment.common.ModuleDescriptor v;
boolean v, v, v, v, v, v;
java.util.logging.Logger v, v, v;
java.lang.Exception v;
org.glassfish.deployment.common.DeploymentException v, v;
com.sun.enterprise.deployment.WebService v;
java.lang.Throwable v;
java.lang.Object[] v;
org.glassfish.api.deployment.archive.ArchiveType v, v, v, v;
java.util.logging.Level v, v;
java.util.ResourceBundle v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.String v, v, v, v, v, v, v, v, v, v, v, v, v;
java.io.File v, v, v, v, v, v, v, v, v;
java.lang.Object v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v := @parameter: com.sun.enterprise.deployment.WebService;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/BundleDescriptor;");
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getSourceDir()>();
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getScratchDir(java.lang.String)>("xml");
staticinvoke <org.glassfish.webservices.WebServicesDeployer: void mkDirs(java.io.File)>(v);
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getScratchDir(java.lang.String)>("ejb");
staticinvoke <org.glassfish.webservices.WebServicesDeployer: void mkDirs(java.io.File)>(v);
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: org.glassfish.api.deployment.archive.ArchiveType warType()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: org.glassfish.api.deployment.archive.ArchiveType getModuleType()>();
v = virtualinvoke v.<org.glassfish.api.deployment.archive.ArchiveType: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: org.glassfish.api.deployment.archive.ArchiveType ejbType()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: org.glassfish.api.deployment.archive.ArchiveType getModuleType()>();
v = virtualinvoke v.<org.glassfish.api.deployment.archive.ArchiveType: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
return;
label:
v = new java.io.File;
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: java.lang.String getWsdlDir()>();
v = <java.io.File: java.lang.String separator>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\\\u0001");
v = virtualinvoke v.<java.lang.String: java.lang.String replaceAll(java.lang.String,java.lang.String)>("/", v);
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
label:
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void checkCatalog(com.sun.enterprise.deployment.BundleDescriptor,com.sun.enterprise.deployment.WebService,java.io.File)>(v, v, v);
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String)>(v, "AS-WSJSR109IMPL-00089");
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: boolean hasWsdlFile()>();
if v == 0 goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
v = virtualinvoke v.<java.lang.String: boolean startsWith(java.lang.String)>("http");
if v == 0 goto label;
label:
v = new java.net.URL;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
specialinvoke v.<java.net.URL: void <init>(java.lang.String)>(v);
v = specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.lang.String downloadWsdlsAndSchemas(java.net.URL,java.io.File)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = new org.glassfish.deployment.common.DeploymentException;
v = virtualinvoke v.<java.lang.Exception: java.lang.String toString()>();
specialinvoke v.<org.glassfish.deployment.common.DeploymentException: void <init>(java.lang.String,java.lang.Throwable)>(v, v);
throw v;
label:
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
v = v;
goto label;
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<java.io.File: boolean isAbsolute()>();
if v == 0 goto label;
v = v;
goto label;
label:
v = new java.io.File;
v = v;
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
label:
v = v;
label:
v = virtualinvoke v.<java.io.File: boolean exists()>();
if v != 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = virtualinvoke v.<java.util.logging.Logger: java.util.ResourceBundle getResourceBundle()>();
v = virtualinvoke v.<java.util.ResourceBundle: java.lang.String getString(java.lang.String)>("AS-WSJSR109IMPL-00002");
v = newarray (java.lang.Object)[2];
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
v[0] = v;
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: org.glassfish.deployment.common.ModuleDescriptor getModuleDescriptor()>();
v = virtualinvoke v.<org.glassfish.deployment.common.ModuleDescriptor: java.lang.String getArchiveUri()>();
v[1] = v;
v = staticinvoke <java.text.MessageFormat: java.lang.String format(java.lang.String,java.lang.Object[])>(v, v);
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String)>(v, v);
v = new org.glassfish.deployment.common.DeploymentException;
specialinvoke v.<org.glassfish.deployment.common.DeploymentException: void <init>(java.lang.String)>(v);
throw v;
label:
return;
catch org.glassfish.deployment.common.DeploymentException from label to label with label;
catch java.lang.Exception from label to label with label;
}
public java.lang.Object loadMetaData(java.lang.Class, org.glassfish.api.deployment.DeploymentContext)
{
org.glassfish.webservices.WebServicesDeployer v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.Boolean v;
java.lang.Class v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.lang.Class;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v = staticinvoke <java.lang.Boolean: java.lang.Boolean valueOf(boolean)>(1);
return v;
}
public org.glassfish.api.deployment.MetaData getMetaData()
{
java.lang.Class[] v;
org.glassfish.api.deployment.MetaData v;
org.glassfish.webservices.WebServicesDeployer v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v = new org.glassfish.api.deployment.MetaData;
v = newarray (java.lang.Class)[1];
v[0] = class "Lcom/sun/enterprise/deployment/Application;";
specialinvoke v.<org.glassfish.api.deployment.MetaData: void <init>(boolean,java.lang.Class[],java.lang.Class[])>(0, null, v);
return v;
}
private java.lang.String downloadWsdlsAndSchemas(java.net.URL, java.io.File) throws java.lang.Exception
{
org.glassfish.webservices.WebServicesDeployer v;
java.lang.String v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v, v;
java.io.File v, v, v, v, v, v;
java.net.URL v, v, v;
boolean v, v;
java.util.HashSet v, v, v, v;
int v, v, v, v, v, v, v, v, v;
java.util.Iterator v, v;
java.lang.Object v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.net.URL;
v := @parameter: java.io.File;
staticinvoke <org.glassfish.webservices.WebServicesDeployer: void mkDirs(java.io.File)>(v);
v = virtualinvoke v.<java.net.URL: java.lang.String toString()>();
v = virtualinvoke v.<java.net.URL: java.lang.String toString()>();
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>("/");
v = v + 1;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int)>(v);
v = new java.io.File;
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
v = <java.io.File: java.lang.String separator>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,java.lang.String)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\u0001\u0001");
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.glassfish.webservices.WebServicesDeployer: void downloadFile(java.net.URL,java.io.File)>(v, v);
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void parseRelativeImports(java.net.URL,java.util.Collection,java.util.Collection,java.util.Collection,java.util.Collection)>(v, v, v, v, v);
virtualinvoke v.<java.util.HashSet: boolean addAll(java.util.Collection)>(v);
virtualinvoke v.<java.util.HashSet: boolean addAll(java.util.Collection)>(v);
v = virtualinvoke v.<java.net.URL: java.lang.String toString()>();
v = virtualinvoke v.<java.net.URL: java.lang.String toString()>();
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>("/");
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = virtualinvoke v.<java.util.HashSet: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<org.glassfish.webservices.Import: java.lang.String getLocation()>();
v = <java.io.File: java.lang.String separator>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\\\u0001");
v = virtualinvoke v.<java.lang.String: java.lang.String replaceAll(java.lang.String,java.lang.String)>("/", v);
v = <java.io.File: java.lang.String separator>;
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>(v);
v = (int) -1;
if v == v goto label;
v = new java.io.File;
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
v = <java.io.File: java.lang.String separator>;
v = <java.io.File: java.lang.String separator>;
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>(v);
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,java.lang.String)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\u0001\u0001");
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
staticinvoke <org.glassfish.webservices.WebServicesDeployer: void mkDirs(java.io.File)>(v);
label:
v = new java.net.URL;
v = virtualinvoke v.<org.glassfish.webservices.Import: java.lang.String getLocation()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001/\u0001");
specialinvoke v.<java.net.URL: void <init>(java.lang.String)>(v);
v = new java.io.File;
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
v = <java.io.File: java.lang.String separator>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,java.lang.String)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\u0001\u0001");
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
virtualinvoke v.<org.glassfish.webservices.WebServicesDeployer: void downloadFile(java.net.URL,java.io.File)>(v, v);
goto label;
label:
v = virtualinvoke v.<java.util.HashSet: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<org.glassfish.webservices.Import: java.lang.String getLocation()>();
v = <java.io.File: java.lang.String separator>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\\\u0001");
v = virtualinvoke v.<java.lang.String: java.lang.String replaceAll(java.lang.String,java.lang.String)>("/", v);
v = <java.io.File: java.lang.String separator>;
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>(v);
v = (int) -1;
if v == v goto label;
v = new java.io.File;
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
v = <java.io.File: java.lang.String separator>;
v = <java.io.File: java.lang.String separator>;
v = virtualinvoke v.<java.lang.String: int lastIndexOf(java.lang.String)>(v);
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String,java.lang.String)>(v, v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\u0001\u0001");
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = v;
goto label;
label:
v = v;
label:
v = new java.net.URL;
v = virtualinvoke v.<org.glassfish.webservices.Import: java.lang.String getLocation()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001/\u0001");
specialinvoke v.<java.net.URL: void <init>(java.lang.String)>(v);
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.lang.String downloadWsdlsAndSchemas(java.net.URL,java.io.File)>(v, v);
goto label;
label:
return v;
}
private void checkCatalog(com.sun.enterprise.deployment.BundleDescriptor, com.sun.enterprise.deployment.WebService, java.io.File) throws org.glassfish.deployment.common.DeploymentException
{
org.glassfish.webservices.WebServicesDeployer v;
java.io.File v, v;
com.sun.enterprise.deployment.BundleDescriptor v;
java.lang.String v, v, v, v;
boolean v;
com.sun.enterprise.deployment.WebService v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: com.sun.enterprise.deployment.BundleDescriptor;
v := @parameter: com.sun.enterprise.deployment.WebService;
v := @parameter: java.io.File;
v = new java.io.File;
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: java.lang.String getDeploymentDescriptorDir()>();
v = <java.io.File: java.lang.String separator>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001\u0001jax-ws-catalog.xml");
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
v = virtualinvoke v.<java.io.File: boolean exists()>();
if v != 0 goto label;
return;
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
virtualinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.net.URL resolveCatalog(java.io.File,java.lang.String,com.sun.enterprise.deployment.WebService)>(v, v, v);
return;
}
public java.net.URL resolveCatalog(java.io.File, java.lang.String, com.sun.enterprise.deployment.WebService) throws org.glassfish.deployment.common.DeploymentException
{
org.glassfish.webservices.WebServicesDeployer v;
java.net.URL v, v, v;
java.net.URI v, v;
org.xml.sax.EntityResolver v;
boolean v, v, v;
org.glassfish.deployment.common.DeploymentException v, v;
com.sun.enterprise.deployment.WebService v;
java.lang.Throwable v;
java.lang.Object[] v, v;
java.util.ResourceBundle v, v;
int v, v;
java.lang.String v, v, v, v, v, v, v, v, v, v;
org.xml.sax.InputSource v;
java.io.File v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.io.File;
v := @parameter: java.lang.String;
v := @parameter: com.sun.enterprise.deployment.WebService;
label:
v = null;
v = virtualinvoke v.<java.io.File: java.net.URI toURI()>();
v = virtualinvoke v.<java.net.URI: java.net.URL toURL()>();
v = staticinvoke <com.sun.xml.ws.util.xml.XmlUtil: org.xml.sax.EntityResolver createEntityResolver(java.net.URL)>(v);
v = interfaceinvoke v.<org.xml.sax.EntityResolver: org.xml.sax.InputSource resolveEntity(java.lang.String,java.lang.String)>(null, v);
if v == null goto label;
v = virtualinvoke v.<org.xml.sax.InputSource: java.lang.String getSystemId()>();
v = virtualinvoke v.<java.lang.String: boolean startsWith(java.lang.String)>("file:");
if v == 0 goto label;
v = new java.io.File;
v = virtualinvoke v.<java.lang.String: int indexOf(java.lang.String)>(":");
v = v + 1;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int)>(v);
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<java.io.File: boolean exists()>();
if v != 0 goto label;
v = new org.glassfish.deployment.common.DeploymentException;
v = v.<org.glassfish.webservices.WebServicesDeployer: java.util.ResourceBundle rb>;
v = virtualinvoke v.<java.util.ResourceBundle: java.lang.String getString(java.lang.String)>("AS-WSJSR109IMPL-00020");
v = newarray (java.lang.Object)[1];
v[0] = v;
v = staticinvoke <java.text.MessageFormat: java.lang.String format(java.lang.String,java.lang.Object[])>(v, v);
specialinvoke v.<org.glassfish.deployment.common.DeploymentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = virtualinvoke v.<java.io.File: java.net.URI toURI()>();
v = virtualinvoke v.<java.net.URI: java.net.URL toURL()>();
if v == null goto label;
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
virtualinvoke v.<com.sun.enterprise.deployment.WebService: void setWsdlFileUri(java.lang.String)>(v);
virtualinvoke v.<com.sun.enterprise.deployment.WebService: void setWsdlFileUrl(java.net.URL)>(v);
goto label;
label:
v = virtualinvoke v.<java.lang.String: boolean startsWith(java.lang.String)>("http");
if v == 0 goto label;
v = new java.net.URL;
specialinvoke v.<java.net.URL: void <init>(java.lang.String)>(v);
v = v;
if v == null goto label;
virtualinvoke v.<com.sun.enterprise.deployment.WebService: void setWsdlFileUrl(java.net.URL)>(v);
label:
return v;
label:
v := @caughtexception;
v = new org.glassfish.deployment.common.DeploymentException;
v = v.<org.glassfish.webservices.WebServicesDeployer: java.util.ResourceBundle rb>;
v = virtualinvoke v.<java.util.ResourceBundle: java.lang.String getString(java.lang.String)>("AS-WSJSR109IMPL-00003");
v = newarray (java.lang.Object)[2];
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
v[0] = v;
v = virtualinvoke v.<java.lang.Throwable: java.lang.String getMessage()>();
v[1] = v;
v = staticinvoke <java.text.MessageFormat: java.lang.String format(java.lang.String,java.lang.Object[])>(v, v);
specialinvoke v.<org.glassfish.deployment.common.DeploymentException: void <init>(java.lang.String)>(v);
throw v;
catch java.lang.Throwable from label to label with label;
}
public void downloadFile(java.net.URL, java.io.File) throws java.lang.Exception
{
java.lang.Throwable v, v, v;
byte[] v;
java.lang.Object[] v;
org.glassfish.webservices.WebServicesDeployer v;
java.net.URL v;
java.util.ResourceBundle v;
int v, v;
java.lang.String v, v, v;
boolean v;
java.io.FileOutputStream v, v;
java.io.File v;
java.lang.Exception v;
java.io.InputStream v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.net.URL;
v := @parameter: java.io.File;
v = null;
v = null;
label:
v = virtualinvoke v.<java.io.File: boolean createNewFile()>();
if v != 0 goto label;
v = new java.lang.Exception;
v = v.<org.glassfish.webservices.WebServicesDeployer: java.util.ResourceBundle rb>;
v = virtualinvoke v.<java.util.ResourceBundle: java.lang.String getString(java.lang.String)>("AS-WSJSR109IMPL-00004");
v = newarray (java.lang.Object)[1];
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
v[0] = v;
v = staticinvoke <java.text.MessageFormat: java.lang.String format(java.lang.String,java.lang.Object[])>(v, v);
specialinvoke v.<java.lang.Exception: void <init>(java.lang.String)>(v);
throw v;
label:
v = virtualinvoke v.<java.net.URL: java.io.InputStream openStream()>();
v = new java.io.FileOutputStream;
specialinvoke v.<java.io.FileOutputStream: void <init>(java.io.File,boolean)>(v, 1);
v = v;
v = newarray (byte)[10240];
label:
v = virtualinvoke v.<java.io.InputStream: int read(byte[],int,int)>(v, 0, 10240);
v = (int) -1;
if v == v goto label;
virtualinvoke v.<java.io.FileOutputStream: void write(byte[],int,int)>(v, 0, v);
goto label;
label:
virtualinvoke v.<java.io.FileOutputStream: void flush()>();
label:
virtualinvoke v.<java.io.InputStream: void close()>();
label:
virtualinvoke v.<java.io.FileOutputStream: void close()>();
goto label;
label:
v := @caughtexception;
if v == null goto label;
virtualinvoke v.<java.io.FileOutputStream: void close()>();
label:
throw v;
label:
v := @caughtexception;
label:
if v == null goto label;
virtualinvoke v.<java.io.InputStream: void close()>();
label:
if v == null goto label;
virtualinvoke v.<java.io.FileOutputStream: void close()>();
goto label;
label:
v := @caughtexception;
if v == null goto label;
virtualinvoke v.<java.io.FileOutputStream: void close()>();
label:
throw v;
label:
throw v;
label:
return;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
private void parseRelativeImports(java.net.URL, java.util.Collection, java.util.Collection, java.util.Collection, java.util.Collection) throws java.lang.Exception
{
org.glassfish.webservices.WebServicesDeployer v;
java.net.URL v;
java.lang.Integer v;
org.w3c.dom.Document v;
boolean v, v, v, v;
java.util.Collection v, v, v, v;
java.util.logging.Logger v, v, v, v, v, v, v, v, v, v, v;
java.lang.Exception v, v, v;
javax.xml.parsers.DocumentBuilderFactory v;
java.lang.Throwable v;
java.lang.Object[] v;
java.util.logging.Level v, v, v, v, v, v, v, v, v, v, v;
int v;
java.lang.String v, v, v, v, v, v;
java.io.IOException v, v, v, v;
org.xml.sax.SAXParseException v;
javax.xml.parsers.DocumentBuilder v;
java.io.InputStream v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.net.URL;
v := @parameter: java.util.Collection;
v := @parameter: java.util.Collection;
v := @parameter: java.util.Collection;
v := @parameter: java.util.Collection;
v = staticinvoke <javax.xml.parsers.DocumentBuilderFactory: javax.xml.parsers.DocumentBuilderFactory newInstance()>();
virtualinvoke v.<javax.xml.parsers.DocumentBuilderFactory: void setNamespaceAware(boolean)>(1);
virtualinvoke v.<javax.xml.parsers.DocumentBuilderFactory: void setExpandEntityReferences(boolean)>(0);
virtualinvoke v.<javax.xml.parsers.DocumentBuilderFactory: void setFeature(java.lang.String,boolean)>("http://apache.org/xml/features/disallow-doctype-decl", 1);
v = null;
label:
v = virtualinvoke v.<javax.xml.parsers.DocumentBuilderFactory: javax.xml.parsers.DocumentBuilder newDocumentBuilder()>();
v = virtualinvoke v.<java.net.URL: java.io.InputStream openStream()>();
v = virtualinvoke v.<javax.xml.parsers.DocumentBuilder: org.w3c.dom.Document parse(java.io.InputStream)>(v);
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void procesSchemaImports(org.w3c.dom.Document,java.util.Collection)>(v, v);
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void procesWsdlImports(org.w3c.dom.Document,java.util.Collection)>(v, v);
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void procesSchemaIncludes(org.w3c.dom.Document,java.util.Collection)>(v, v);
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void procesWsdlIncludes(org.w3c.dom.Document,java.util.Collection)>(v, v);
label:
if v == null goto label;
virtualinvoke v.<java.io.InputStream: void close()>();
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.io.IOException: java.lang.String getMessage()>();
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00050", v);
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
v = newarray (java.lang.Object)[2];
v = virtualinvoke v.<org.xml.sax.SAXParseException: int getLineNumber()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = virtualinvoke v.<org.xml.sax.SAXParseException: java.lang.String getSystemId()>();
v[1] = v;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object[])>(v, "AS-WSJSR109IMPL-00013", v);
v = v;
v = virtualinvoke v.<org.xml.sax.SAXParseException: java.lang.Exception getException()>();
if v == null goto label;
v = virtualinvoke v.<org.xml.sax.SAXParseException: java.lang.Exception getException()>();
label:
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Throwable)>(v, "AS-WSJSR109IMPL-00079", v);
label:
if v == null goto label;
virtualinvoke v.<java.io.InputStream: void close()>();
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.io.IOException: java.lang.String getMessage()>();
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00050", v);
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
v = virtualinvoke v.<java.lang.Exception: java.lang.String getMessage()>();
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00014", v);
label:
if v == null goto label;
virtualinvoke v.<java.io.InputStream: void close()>();
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.io.IOException: java.lang.String getMessage()>();
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00050", v);
goto label;
label:
v := @caughtexception;
label:
if v == null goto label;
virtualinvoke v.<java.io.InputStream: void close()>();
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.io.IOException: java.lang.String getMessage()>();
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00050", v);
label:
throw v;
label:
return;
catch java.io.IOException from label to label with label;
catch org.xml.sax.SAXParseException from label to label with label;
catch java.io.IOException from label to label with label;
catch java.lang.Exception from label to label with label;
catch java.io.IOException from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.io.IOException from label to label with label;
}
private void procesSchemaImports(org.w3c.dom.Document, java.util.Collection) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
{
org.w3c.dom.NodeList v;
org.glassfish.webservices.WebServicesDeployer v;
org.w3c.dom.Document v;
java.util.Collection v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.w3c.dom.Document;
v := @parameter: java.util.Collection;
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String,java.lang.String)>("http://www.w.org/2001/XMLSchema", "import");
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void addImportsAndIncludes(org.w3c.dom.NodeList,java.util.Collection,java.lang.String,java.lang.String)>(v, v, "namespace", "schemaLocation");
return;
}
private void procesWsdlImports(org.w3c.dom.Document, java.util.Collection) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
{
org.w3c.dom.NodeList v;
org.glassfish.webservices.WebServicesDeployer v;
org.w3c.dom.Document v;
java.util.Collection v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.w3c.dom.Document;
v := @parameter: java.util.Collection;
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String,java.lang.String)>("http://schemas.xmlsoap.org/wsdl/", "import");
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void addImportsAndIncludes(org.w3c.dom.NodeList,java.util.Collection,java.lang.String,java.lang.String)>(v, v, "namespace", "location");
return;
}
private void procesSchemaIncludes(org.w3c.dom.Document, java.util.Collection) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
{
org.w3c.dom.NodeList v;
org.glassfish.webservices.WebServicesDeployer v;
org.w3c.dom.Document v;
java.util.Collection v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.w3c.dom.Document;
v := @parameter: java.util.Collection;
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String,java.lang.String)>("http://www.w.org/2001/XMLSchema", "include");
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void addImportsAndIncludes(org.w3c.dom.NodeList,java.util.Collection,java.lang.String,java.lang.String)>(v, v, null, "schemaLocation");
return;
}
private void procesWsdlIncludes(org.w3c.dom.Document, java.util.Collection) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
{
org.w3c.dom.NodeList v;
org.glassfish.webservices.WebServicesDeployer v;
org.w3c.dom.Document v;
java.util.Collection v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.w3c.dom.Document;
v := @parameter: java.util.Collection;
v = interfaceinvoke v.<org.w3c.dom.Document: org.w3c.dom.NodeList getElementsByTagNameNS(java.lang.String,java.lang.String)>("http://schemas.xmlsoap.org/wsdl/", "include");
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void addImportsAndIncludes(org.w3c.dom.NodeList,java.util.Collection,java.lang.String,java.lang.String)>(v, v, null, "location");
return;
}
private void addImportsAndIncludes(org.w3c.dom.NodeList, java.util.Collection, java.lang.String, java.lang.String) throws org.xml.sax.SAXException, javax.xml.parsers.ParserConfigurationException, java.io.IOException
{
org.w3c.dom.NodeList v;
org.glassfish.webservices.WebServicesDeployer v;
java.util.Collection v;
org.w3c.dom.Node v, v, v;
int v, v;
org.w3c.dom.NamedNodeMap v;
java.lang.String v, v, v, v;
org.glassfish.webservices.Import v;
boolean v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.w3c.dom.NodeList;
v := @parameter: java.util.Collection;
v := @parameter: java.lang.String;
v := @parameter: java.lang.String;
v = 0;
label:
v = interfaceinvoke v.<org.w3c.dom.NodeList: int getLength()>();
if v >= v goto label;
v = null;
v = interfaceinvoke v.<org.w3c.dom.NodeList: org.w3c.dom.Node item(int)>(v);
v = interfaceinvoke v.<org.w3c.dom.Node: org.w3c.dom.NamedNodeMap getAttributes()>();
v = interfaceinvoke v.<org.w3c.dom.NamedNodeMap: org.w3c.dom.Node getNamedItem(java.lang.String)>(v);
if v == null goto label;
v = interfaceinvoke v.<org.w3c.dom.Node: java.lang.String getNodeValue()>();
label:
if v == null goto label;
v = virtualinvoke v.<java.lang.String: boolean startsWith(java.lang.String)>("http");
if v != 0 goto label;
v = new org.glassfish.webservices.Import;
specialinvoke v.<org.glassfish.webservices.Import: void <init>()>();
virtualinvoke v.<org.glassfish.webservices.Import: void setLocation(java.lang.String)>(v);
if v == null goto label;
v = interfaceinvoke v.<org.w3c.dom.NamedNodeMap: org.w3c.dom.Node getNamedItem(java.lang.String)>(v);
if v == null goto label;
v = interfaceinvoke v.<org.w3c.dom.Node: java.lang.String getNodeValue()>();
virtualinvoke v.<org.glassfish.webservices.Import: void setNamespace(java.lang.String)>(v);
label:
interfaceinvoke v.<java.util.Collection: boolean add(java.lang.Object)>(v);
label:
v = v + 1;
goto label;
label:
return;
}
private void doWebServicesDeployment(com.sun.enterprise.deployment.Application, org.glassfish.api.deployment.DeploymentContext) throws java.lang.Exception
{
org.glassfish.webservices.WebServicesDeployer v;
java.lang.Integer v, v;
java.util.Set v, v;
org.glassfish.webservices.WsUtil v;
javax.xml.namespace.QName v, v, v;
java.lang.Object[] v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.String v, v, v, v, v, v, v, v, v;
java.util.Properties v, v;
org.glassfish.web.deployment.util.WebServerInfo v, v;
java.io.File v, v, v, v, v;
java.net.URL v, v, v;
com.sun.enterprise.deployment.BundleDescriptor v;
boolean v, v, v, v, v, v, v, v, v, v, v;
java.util.Collection v, v, v, v, v, v, v;
java.util.logging.Logger v, v, v, v, v;
com.sun.enterprise.deployment.Application v;
org.glassfish.api.deployment.archive.ArchiveType v;
java.util.logging.Level v, v, v, v, v;
java.util.HashSet v, v;
int v, v, v, v, v;
java.util.Iterator v, v, v, v;
com.sun.enterprise.deployment.WebServicesDescriptor v;
java.lang.Object v, v, v, v, v, v, v, v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: com.sun.enterprise.deployment.Application;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/WebServicesDescriptor;");
if v == null goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getWebServices()>();
v = interfaceinvoke v.<java.util.Collection: int size()>();
if v <= 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = newarray (java.lang.Object)[2];
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getWebServices()>();
v = interfaceinvoke v.<java.util.Collection: int size()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[0] = v;
v = specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.util.Set getWebServiceDescriptors(com.sun.enterprise.deployment.Application)>(v);
v = interfaceinvoke v.<java.util.Set: int size()>();
v = staticinvoke <java.lang.Integer: java.lang.Integer valueOf(int)>(v);
v[1] = v;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object[])>(v, "AS-WSJSR109IMPL-00090", v);
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getWebServices()>();
interfaceinvoke v.<java.util.Collection: boolean addAll(java.util.Collection)>(v);
label:
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/WebBundleDescriptor;");
if v == null goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: java.util.Collection getExtensionsDescriptors(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/EjbBundleDescriptor;");
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.EjbBundleDescriptor: com.sun.enterprise.deployment.WebServicesDescriptor getWebServices()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getWebServices()>();
interfaceinvoke v.<java.util.Collection: boolean addAll(java.util.Collection)>(v);
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00091", v);
goto label;
label:
if v == null goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: java.util.Collection getExtensionsDescriptors(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/EjbBundleDescriptor;");
v = interfaceinvoke v.<java.util.Collection: int size()>();
if v != 0 goto label;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.util.Properties getAppProps()>();
v = virtualinvoke v.<java.util.Properties: java.lang.Object get(java.lang.Object)>("context-root");
if v == null goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.Application: boolean isVirtual()>();
if v == 0 goto label;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.util.Properties getAppProps()>();
v = virtualinvoke v.<java.util.Properties: java.lang.Object get(java.lang.Object)>("context-root");
virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: void setContextRoot(java.lang.String)>(v);
label:
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = new org.glassfish.webservices.WsUtil;
specialinvoke v.<org.glassfish.webservices.WsUtil: void <init>()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: boolean hasFilePublishing()>();
if v != 0 goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.util.Collection getEndpoints()>();
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<org.glassfish.webservices.WsUtil: org.glassfish.web.deployment.util.WebServerInfo getWebServerInfoForDAS()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: boolean isSecure()>();
v = virtualinvoke v.<org.glassfish.web.deployment.util.WebServerInfo: java.net.URL getWebServerRootURL(boolean)>(v);
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: java.net.URL composeFinalWsdlUrl(java.net.URL)>(v);
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = v;
if v == null goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: java.util.Set getServiceReferenceDescriptors()>();
goto label;
label:
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/EjbBundleDescriptor;");
if v == null goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.EjbBundleDescriptor: java.util.Set getEjbServiceReferenceDescriptors()>();
goto label;
label:
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level SEVERE>;
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: com.sun.enterprise.deployment.BundleDescriptor getCurrentBundleForContext(org.glassfish.api.deployment.DeploymentContext)>(v);
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: org.glassfish.api.deployment.archive.ArchiveType getModuleType()>();
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00121", v);
label:
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.ServiceReferenceDescriptor: javax.xml.namespace.QName getServiceName()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: javax.xml.namespace.QName getServiceName()>();
v = virtualinvoke v.<javax.xml.namespace.QName: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.ServiceReferenceDescriptor: java.lang.String getServiceNamespaceUri()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: javax.xml.namespace.QName getWsdlService()>();
v = virtualinvoke v.<javax.xml.namespace.QName: java.lang.String getNamespaceURI()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
v = virtualinvoke v.<java.net.URL: java.lang.String toExternalForm()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001?WSDL");
virtualinvoke v.<com.sun.enterprise.deployment.ServiceReferenceDescriptor: void setWsdlFileUri(java.lang.String)>(v);
goto label;
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.net.URL getWsdlFileUrl()>();
if v != null goto label;
v = new java.io.File;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getSourceDir()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
v = virtualinvoke v.<java.io.File: java.net.URL toURL()>();
label:
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getScratchDir(java.lang.String)>("xml");
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
v = virtualinvoke v.<java.lang.String: int lastIndexOf(int)>(47);
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int,int)>(0, v);
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
staticinvoke <org.glassfish.webservices.WebServicesDeployer: void mkDirs(java.io.File)>(v);
v = new java.io.File;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.lang.String getWsdlFileUri()>();
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
v = virtualinvoke v.<org.glassfish.webservices.WsUtil: org.glassfish.web.deployment.util.WebServerInfo getWebServerInfoForDAS()>();
virtualinvoke v.<org.glassfish.webservices.WsUtil: void generateFinalWsdl(java.net.URL,com.sun.enterprise.deployment.WebService,org.glassfish.web.deployment.util.WebServerInfo,java.io.File)>(v, v, v, v);
goto label;
label:
if v == null goto label;
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void doWebServiceDeployment(com.sun.enterprise.deployment.WebBundleDescriptor)>(v);
label:
return;
}
private void doWebServiceDeployment(com.sun.enterprise.deployment.WebBundleDescriptor) throws org.glassfish.deployment.common.DeploymentException, java.net.MalformedURLException
{
org.glassfish.webservices.WebServicesDeployer v;
java.net.URL v, v;
com.sun.enterprise.deployment.WebComponentDescriptor v;
boolean v, v, v, v, v;
java.util.Collection v;
java.util.Set v;
java.util.logging.Logger v;
org.glassfish.deployment.common.DeploymentException v;
org.glassfish.webservices.WsUtil v;
org.glassfish.web.deployment.util.VirtualServerInfo v, v;
com.sun.enterprise.deployment.WebService v;
java.lang.Object[] v, v;
java.util.logging.Level v;
java.util.ResourceBundle v;
int v;
java.lang.String v, v, v, v, v, v, v, v;
java.util.Iterator v;
char v;
com.sun.enterprise.deployment.WebBundleDescriptor v;
org.glassfish.web.deployment.util.WebServerInfo v;
com.sun.enterprise.deployment.WebServicesDescriptor v;
java.lang.Object v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: com.sun.enterprise.deployment.WebBundleDescriptor;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: com.sun.enterprise.deployment.WebServicesDescriptor getWebServices()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getEndpoints()>();
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: com.sun.enterprise.deployment.WebComponentDescriptor getWebComponentImpl()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: boolean hasServletImplClass()>();
if v != 0 goto label;
v = new org.glassfish.deployment.common.DeploymentException;
v = v.<org.glassfish.webservices.WebServicesDeployer: java.util.ResourceBundle rb>;
v = virtualinvoke v.<java.util.ResourceBundle: java.lang.String getString(java.lang.String)>("AS-WSJSR109IMPL-00011");
v = newarray (java.lang.Object)[1];
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: java.lang.String getEndpointName()>();
v[0] = v;
v = staticinvoke <java.text.MessageFormat: java.lang.String format(java.lang.String,java.lang.Object[])>(v, v);
specialinvoke v.<org.glassfish.deployment.common.DeploymentException: void <init>(java.lang.String)>(v);
throw v;
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: boolean hasEndpointAddressUri()>();
if v == 0 goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebComponentDescriptor: java.util.Set getUrlPatternsSet()>();
interfaceinvoke v.<java.util.Set: void clear()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: java.lang.String getEndpointAddressUri()>();
virtualinvoke v.<com.sun.enterprise.deployment.WebComponentDescriptor: void addUrlPattern(java.lang.String)>(v);
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: com.sun.enterprise.deployment.WebService getWebService()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: boolean hasFilePublishing()>();
if v != 0 goto label;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: java.lang.String getPublishingUri()>();
v = virtualinvoke v.<java.lang.String: char charAt(int)>(0);
if v != 47 goto label;
v = v;
goto label;
label:
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("/\u0001/*");
label:
virtualinvoke v.<com.sun.enterprise.deployment.WebComponentDescriptor: void addUrlPattern(java.lang.String)>(v);
label:
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void addWSServletContextListener(com.sun.enterprise.deployment.WebBundleDescriptor)>(v);
virtualinvoke v.<com.sun.enterprise.deployment.WebComponentDescriptor: void setWebComponentImplementation(java.lang.String)>("org.glassfish.webservices.JAXWSServlet");
v = new org.glassfish.webservices.WsUtil;
specialinvoke v.<org.glassfish.webservices.WsUtil: void <init>()>();
v = virtualinvoke v.<org.glassfish.webservices.WsUtil: org.glassfish.web.deployment.util.WebServerInfo getWebServerInfoForDAS()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: boolean isSecure()>();
v = virtualinvoke v.<org.glassfish.web.deployment.util.WebServerInfo: java.net.URL getWebServerRootURL(boolean)>(v);
v = virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: java.lang.String getContextRoot()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: java.net.URL composeEndpointAddress(java.net.URL,java.lang.String)>(v, v);
v = virtualinvoke v.<org.glassfish.web.deployment.util.WebServerInfo: org.glassfish.web.deployment.util.VirtualServerInfo getHttpVS()>();
if v == null goto label;
v = virtualinvoke v.<org.glassfish.web.deployment.util.WebServerInfo: org.glassfish.web.deployment.util.VirtualServerInfo getHttpVS()>();
v = virtualinvoke v.<org.glassfish.web.deployment.util.VirtualServerInfo: int getPort()>();
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level INFO>;
v = newarray (java.lang.Object)[2];
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServiceEndpoint: java.lang.String getEndpointName()>();
v[0] = v;
v[1] = v;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object[])>(v, "AS-WSJSR109IMPL-00018", v);
goto label;
label:
return;
}
private void addWSServletContextListener(com.sun.enterprise.deployment.WebBundleDescriptor)
{
java.util.Iterator v;
org.glassfish.webservices.WebServicesDeployer v;
com.sun.enterprise.deployment.WebBundleDescriptor v;
java.util.List v;
java.lang.Class v, v;
java.lang.Object v;
java.lang.String v, v, v;
boolean v, v;
org.glassfish.web.deployment.descriptor.AppListenerDescriptorImpl v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: com.sun.enterprise.deployment.WebBundleDescriptor;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: java.util.List getAppListenersCopy()>();
v = interfaceinvoke v.<java.util.List: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<com.sun.enterprise.deployment.web.AppListenerDescriptor: java.lang.String getListener()>();
v = class "Lorg/glassfish/webservices/WSServletContextListener;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = virtualinvoke v.<java.lang.String: boolean equals(java.lang.Object)>(v);
if v == 0 goto label;
return;
label:
v = new org.glassfish.web.deployment.descriptor.AppListenerDescriptorImpl;
v = class "Lorg/glassfish/webservices/WSServletContextListener;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
specialinvoke v.<org.glassfish.web.deployment.descriptor.AppListenerDescriptorImpl: void <init>(java.lang.String)>(v);
virtualinvoke v.<com.sun.enterprise.deployment.WebBundleDescriptor: void addAppListenerDescriptor(com.sun.enterprise.deployment.web.AppListenerDescriptor)>(v);
return;
}
public void unload(org.glassfish.webservices.WebServicesApplication, org.glassfish.api.deployment.DeploymentContext)
{
java.util.Iterator v, v;
org.glassfish.webservices.WebServicesDeployer v;
org.glassfish.webservices.WebServiceDeploymentNotifier v;
java.util.Collection v;
java.util.Set v, v;
org.glassfish.webservices.WebServicesApplication v;
org.glassfish.api.deployment.DeploymentContext v;
com.sun.enterprise.deployment.Application v;
java.lang.Object v, v, v;
boolean v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.webservices.WebServicesApplication;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v = staticinvoke <org.glassfish.webservices.WebServicesDeployer: org.glassfish.webservices.WebServiceDeploymentNotifier getDeploymentNotifier()>();
v = virtualinvoke v.<org.glassfish.webservices.WebServicesApplication: java.util.Set getPublishedFiles()>();
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void deletePublishedFiles(java.util.Set)>(v);
v = virtualinvoke v.<org.glassfish.webservices.WebServicesApplication: com.sun.enterprise.deployment.Application getApplication()>();
if v != null goto label;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/Application;");
label:
if v == null goto label;
v = specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.util.Set getWebServiceDescriptors(com.sun.enterprise.deployment.Application)>(v);
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.util.Collection getEndpoints()>();
v = interfaceinvoke v.<java.util.Collection: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
if v == null goto label;
interfaceinvoke v.<org.glassfish.webservices.WebServiceDeploymentNotifier: void notifyUndeployed(com.sun.enterprise.deployment.WebServiceEndpoint)>(v);
goto label;
label:
return;
}
public void clean(org.glassfish.api.deployment.DeploymentContext)
{
org.glassfish.webservices.WebServicesDeployer v;
org.glassfish.api.deployment.OpsParams v;
org.glassfish.webservices.deployment.WebServicesDeploymentMBean v;
java.lang.'annotation'.Annotation[] v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.Object v;
java.lang.String v;
org.glassfish.hk.api.ServiceLocator v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
specialinvoke v.<org.glassfish.javaee.core.deployment.JavaEEDeployer: void clean(org.glassfish.api.deployment.DeploymentContext)>(v);
v = v.<org.glassfish.webservices.WebServicesDeployer: org.glassfish.hk.api.ServiceLocator habitat>;
v = newarray (java.lang.'annotation'.Annotation)[0];
v = interfaceinvoke v.<org.glassfish.hk.api.ServiceLocator: java.lang.Object getService(java.lang.Class,java.lang.'annotation'.Annotation[])>(class "Lorg/glassfish/webservices/WebServicesContainer;", v);
v = virtualinvoke v.<org.glassfish.webservices.WebServicesContainer: org.glassfish.webservices.deployment.WebServicesDeploymentMBean getDeploymentBean()>();
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: org.glassfish.api.deployment.OpsParams getCommandParameters(java.lang.Class)>(class "Lorg/glassfish/api/deployment/UndeployCommandParameters;");
if v == null goto label;
v = v.<org.glassfish.api.deployment.UndeployCommandParameters: java.lang.String name>;
virtualinvoke v.<org.glassfish.webservices.deployment.WebServicesDeploymentMBean: void undeploy(java.lang.String)>(v);
label:
return;
}
public org.glassfish.webservices.WebServicesApplication load(org.glassfish.webservices.WebServicesContainer, org.glassfish.api.deployment.DeploymentContext)
{
org.glassfish.webservices.WebServicesDeployer v;
java.util.Set v, v;
java.lang.RuntimeException v;
java.lang.Exception v;
org.glassfish.api.container.RequestDispatcher v;
org.glassfish.webservices.WebServicesApplication v;
org.glassfish.api.deployment.DeploymentContext v;
org.glassfish.webservices.WebServicesContainer v;
java.lang.Object v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.webservices.WebServicesContainer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.lang.Object getModuleMetaData(java.lang.Class)>(class "Lcom/sun/enterprise/deployment/Application;");
label:
v = specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.util.Set getWebServiceDescriptors(com.sun.enterprise.deployment.Application)>(v);
v = specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.util.Set populateWsdlFilesForPublish(org.glassfish.api.deployment.DeploymentContext,java.util.Set)>(v, v);
label:
goto label;
label:
v := @caughtexception;
v = new java.lang.RuntimeException;
specialinvoke v.<java.lang.RuntimeException: void <init>(java.lang.Throwable)>(v);
throw v;
label:
v = new org.glassfish.webservices.WebServicesApplication;
v = v.<org.glassfish.webservices.WebServicesDeployer: org.glassfish.api.container.RequestDispatcher dispatcher>;
specialinvoke v.<org.glassfish.webservices.WebServicesApplication: void <init>(org.glassfish.api.deployment.DeploymentContext,org.glassfish.api.container.RequestDispatcher,java.util.Set)>(v, v, v);
return v;
catch java.lang.Exception from label to label with label;
}
private java.util.Set populateWsdlFilesForPublish(org.glassfish.api.deployment.DeploymentContext, java.util.Set) throws java.io.IOException
{
org.glassfish.webservices.WebServicesDeployer v;
java.util.Enumeration v;
java.net.URL v, v, v;
java.net.URISyntaxException v;
com.sun.enterprise.deployment.BundleDescriptor v;
com.sun.enterprise.deploy.shared.FileArchive v;
java.net.URI v, v;
boolean v, v, v, v, v, v, v, v;
java.util.Set v;
java.util.logging.Logger v;
java.lang.Throwable v;
org.glassfish.api.deployment.archive.ArchiveType v, v, v, v;
java.util.logging.Level v;
java.util.HashSet v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.String v, v, v, v, v;
java.util.Iterator v;
java.io.File v, v, v, v, v, v, v;
java.lang.Object v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v := @parameter: java.util.Set;
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: boolean hasFilePublishing()>();
if v == 0 goto label;
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void copyExtraFilesToGeneratedFolder(org.glassfish.api.deployment.DeploymentContext)>(v);
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: com.sun.enterprise.deployment.BundleDescriptor getBundleDescriptor()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: org.glassfish.api.deployment.archive.ArchiveType getModuleType()>();
if v == null goto label;
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: org.glassfish.api.deployment.archive.ArchiveType earType()>();
v = virtualinvoke v.<org.glassfish.api.deployment.archive.ArchiveType: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: org.glassfish.api.deployment.archive.ArchiveType warType()>();
v = virtualinvoke v.<org.glassfish.api.deployment.archive.ArchiveType: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
v = staticinvoke <com.sun.enterprise.deployment.util.DOLUtils: org.glassfish.api.deployment.archive.ArchiveType ejbType()>();
v = virtualinvoke v.<org.glassfish.api.deployment.archive.ArchiveType: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
label:
return v;
label:
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getScratchDir(java.lang.String)>("xml");
label:
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.net.URL getClientPublishUrl()>();
v = virtualinvoke v.<java.net.URL: java.net.URI toURI()>();
v = virtualinvoke v.<java.net.URI: boolean isOpaque()>();
if v != 0 goto label;
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.net.URI)>(v);
v = v;
goto label;
label:
v = new java.io.File;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.net.URL getClientPublishUrl()>();
v = virtualinvoke v.<java.net.URL: java.lang.String getPath()>();
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = v;
label:
goto label;
label:
v := @caughtexception;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level WARNING>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Throwable)>(v, "AS-WSJSR109IMPL-00050", v);
v = new java.io.File;
v = virtualinvoke v.<com.sun.enterprise.deployment.WebService: java.net.URL getClientPublishUrl()>();
v = virtualinvoke v.<java.net.URL: java.lang.String getPath()>();
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = v;
label:
v = new com.sun.enterprise.deploy.shared.FileArchive;
specialinvoke v.<com.sun.enterprise.deploy.shared.FileArchive: void <init>()>();
label:
v = virtualinvoke v.<java.io.File: java.net.URI toURI()>();
virtualinvoke v.<com.sun.enterprise.deploy.shared.FileArchive: void open(java.net.URI)>(v);
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: java.lang.String getWsdlDir()>();
v = virtualinvoke v.<com.sun.enterprise.deploy.shared.FileArchive: java.util.Enumeration entries(java.lang.String)>(v);
label:
virtualinvoke v.<com.sun.enterprise.deploy.shared.FileArchive: void close()>();
goto label;
label:
v := @caughtexception;
throw v;
label:
v = interfaceinvoke v.<java.util.Enumeration: boolean hasMoreElements()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Enumeration: java.lang.Object nextElement()>();
v = specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: java.lang.String stripWsdlDir(java.lang.String,com.sun.enterprise.deployment.BundleDescriptor)>(v, v);
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.io.File,java.lang.String)>(v, v);
v = virtualinvoke v.<java.io.File: boolean isDirectory()>();
if v != 0 goto label;
specialinvoke v.<org.glassfish.webservices.WebServicesDeployer: void publishFile(java.io.File,java.io.File)>(v, v);
v = virtualinvoke v.<java.io.File: java.lang.String getAbsolutePath()>();
interfaceinvoke v.<java.util.Set: boolean add(java.lang.Object)>(v);
goto label;
label:
return v;
catch java.net.URISyntaxException from label to label with label;
catch java.lang.Throwable from label to label with label;
}
private void publishFile(java.io.File, java.io.File) throws java.io.IOException
{
java.nio.file.CopyOption[] v;
org.glassfish.webservices.WebServicesDeployer v;
java.io.File v, v, v;
java.nio.file.StandardCopyOption v;
java.nio.file.Path v, v;
boolean v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.io.File;
v := @parameter: java.io.File;
v = virtualinvoke v.<java.io.File: boolean exists()>();
if v != 0 goto label;
v = virtualinvoke v.<java.io.File: java.io.File getParentFile()>();
staticinvoke <org.glassfish.webservices.WebServicesDeployer: void mkDirs(java.io.File)>(v);
label:
v = virtualinvoke v.<java.io.File: java.nio.file.Path toPath()>();
v = virtualinvoke v.<java.io.File: java.nio.file.Path toPath()>();
v = newarray (java.nio.file.CopyOption)[1];
v = <java.nio.file.StandardCopyOption: java.nio.file.StandardCopyOption REPLACE_EXISTING>;
v[0] = v;
staticinvoke <java.nio.file.Files: java.nio.file.Path copy(java.nio.file.Path,java.nio.file.Path,java.nio.file.CopyOption[])>(v, v, v);
return;
}
private void deletePublishedFiles(java.util.Set)
{
java.util.Iterator v;
org.glassfish.webservices.WebServicesDeployer v;
java.util.Set v;
java.lang.Object v;
java.io.File v;
boolean v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.util.Set;
if v == null goto label;
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = new java.io.File;
specialinvoke v.<java.io.File: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<java.io.File: boolean exists()>();
if v == 0 goto label;
staticinvoke <com.sun.enterprise.util.io.FileUtils: boolean deleteFile(java.io.File)>(v);
goto label;
label:
return;
}
private void copyExtraFilesToGeneratedFolder(org.glassfish.api.deployment.DeploymentContext) throws java.io.IOException
{
org.glassfish.webservices.WebServicesDeployer v;
java.lang.'annotation'.Annotation[] v;
java.io.File v, v;
com.sun.enterprise.deploy.shared.ArchiveFactory v, v;
org.glassfish.api.deployment.archive.ReadableArchive v;
org.glassfish.api.deployment.DeploymentContext v;
java.lang.Object v;
org.glassfish.api.deployment.archive.WritableArchive v;
org.glassfish.hk.api.ServiceLocator v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: org.glassfish.api.deployment.DeploymentContext;
v = v.<org.glassfish.webservices.WebServicesDeployer: org.glassfish.hk.api.ServiceLocator habitat>;
v = newarray (java.lang.'annotation'.Annotation)[0];
v = interfaceinvoke v.<org.glassfish.hk.api.ServiceLocator: java.lang.Object getService(java.lang.Class,java.lang.'annotation'.Annotation[])>(class "Lcom/sun/enterprise/deployment/archivist/Archivist;", v);
v = v.<org.glassfish.webservices.WebServicesDeployer: com.sun.enterprise.deploy.shared.ArchiveFactory archiveFactory>;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getSourceDir()>();
v = virtualinvoke v.<com.sun.enterprise.deploy.shared.ArchiveFactory: org.glassfish.api.deployment.archive.ReadableArchive openArchive(java.io.File)>(v);
v = v.<org.glassfish.webservices.WebServicesDeployer: com.sun.enterprise.deploy.shared.ArchiveFactory archiveFactory>;
v = interfaceinvoke v.<org.glassfish.api.deployment.DeploymentContext: java.io.File getScratchDir(java.lang.String)>("xml");
v = virtualinvoke v.<com.sun.enterprise.deploy.shared.ArchiveFactory: org.glassfish.api.deployment.archive.WritableArchive createArchive(java.io.File)>(v);
virtualinvoke v.<com.sun.enterprise.deployment.archivist.Archivist: void copyExtraElements(org.glassfish.api.deployment.archive.ReadableArchive,org.glassfish.api.deployment.archive.WritableArchive)>(v, v);
return;
}
private java.lang.String stripWsdlDir(java.lang.String, com.sun.enterprise.deployment.BundleDescriptor)
{
org.glassfish.webservices.WebServicesDeployer v;
com.sun.enterprise.deployment.BundleDescriptor v;
int v, v;
java.lang.String v, v, v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: java.lang.String;
v := @parameter: com.sun.enterprise.deployment.BundleDescriptor;
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: java.lang.String getWsdlDir()>();
v = virtualinvoke v.<java.lang.String: int length()>();
v = v + 1;
v = virtualinvoke v.<java.lang.String: java.lang.String substring(int)>(v);
return v;
}
private java.util.Set getWebServiceDescriptors(com.sun.enterprise.deployment.Application)
{
java.util.Iterator v;
org.glassfish.webservices.WebServicesDeployer v;
java.util.Collection v;
java.util.Set v;
java.util.HashSet v;
com.sun.enterprise.deployment.WebServicesDescriptor v;
com.sun.enterprise.deployment.Application v;
java.lang.Object v;
boolean v;
v := @this: org.glassfish.webservices.WebServicesDeployer;
v := @parameter: com.sun.enterprise.deployment.Application;
v = new java.util.HashSet;
specialinvoke v.<java.util.HashSet: void <init>()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.Application: java.util.Set getBundleDescriptors()>();
v = interfaceinvoke v.<java.util.Set: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.BundleDescriptor: com.sun.enterprise.deployment.WebServicesDescriptor getWebServices()>();
v = virtualinvoke v.<com.sun.enterprise.deployment.WebServicesDescriptor: java.util.Collection getWebServices()>();
interfaceinvoke v.<java.util.Set: boolean addAll(java.util.Collection)>(v);
goto label;
label:
return v;
}
public static org.glassfish.webservices.WebServiceDeploymentNotifier getDeploymentNotifier()
{
org.glassfish.webservices.WebServiceDeploymentNotifier v;
v = <org.glassfish.webservices.WebServicesDeployer: org.glassfish.webservices.WebServiceDeploymentNotifier deploymentNotifier>;
return v;
}
private static void mkDirs(java.io.File)
{
java.util.logging.Logger v, v;
java.io.File v;
boolean v, v;
java.util.logging.Level v, v;
v := @parameter: java.io.File;
v = virtualinvoke v.<java.io.File: boolean mkdirs()>();
if v != 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
v = virtualinvoke v.<java.util.logging.Logger: boolean isLoggable(java.util.logging.Level)>(v);
if v == 0 goto label;
v = <org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger>;
v = <java.util.logging.Level: java.util.logging.Level FINE>;
virtualinvoke v.<java.util.logging.Logger: void log(java.util.logging.Level,java.lang.String,java.lang.Object)>(v, "AS-WSJSR109IMPL-00093", v);
label:
return;
}
static void <clinit>()
{
java.util.logging.Logger v;
org.glassfish.webservices.WebServiceDeploymentNotifierImpl v;
v = new org.glassfish.webservices.WebServiceDeploymentNotifierImpl;
specialinvoke v.<org.glassfish.webservices.WebServiceDeploymentNotifierImpl: void <init>()>();
<org.glassfish.webservices.WebServicesDeployer: org.glassfish.webservices.WebServiceDeploymentNotifier deploymentNotifier> = v;
v = staticinvoke <org.glassfish.webservices.LogUtils: java.util.logging.Logger getLogger()>();
<org.glassfish.webservices.WebServicesDeployer: java.util.logging.Logger logger> = v;
return;
}
}