com.sun.enterprise.deployment.util
Class ModuleContentLinker

java.lang.Object
  extended by com.sun.enterprise.deployment.util.DefaultDOLVisitor
      extended by com.sun.enterprise.deployment.util.ModuleContentLinker
All Implemented Interfaces:
AppClientVisitor, ApplicationVisitor, ComponentVisitor, ConnectorVisitor, DescriptorVisitor, EjbBundleVisitor, EjbVisitor, ManagedBeanVisitor, WebBundleVisitor

public class ModuleContentLinker
extends DefaultDOLVisitor

Author:
Kenneth Saks

Field Summary
protected  ReadableArchive rootLocation_
           
 
Fields inherited from class com.sun.enterprise.deployment.util.DefaultDOLVisitor
bundleDescriptor
 
Constructor Summary
protected ModuleContentLinker()
           
  ModuleContentLinker(ReadableArchive rootLocation)
           
  ModuleContentLinker(ReadableArchive rootLocation, boolean forceWSDLURLs)
           
 
Method Summary
 void accept(ServiceReferenceDescriptor serviceRef)
          visits a web service reference descriptor
 void accept(WebService webService)
          visits a web service definition
static java.net.URL createJarUrl(java.io.File jarFile, java.lang.String entry)
           
static java.net.URL getEntryAsUrl(java.io.File moduleLocation, java.lang.String uri)
           
 
Methods inherited from class com.sun.enterprise.deployment.util.DefaultDOLVisitor
accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, accept, acceptWithCL, acceptWithoutCL, getAppClientVisitor, getBundleDescriptor, getConnectorVisitor, getEjbBundleVisitor, getEjbVisitor, getWebBundleVisitor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

rootLocation_

protected ReadableArchive rootLocation_
Constructor Detail

ModuleContentLinker

public ModuleContentLinker(ReadableArchive rootLocation,
                           boolean forceWSDLURLs)

ModuleContentLinker

public ModuleContentLinker(ReadableArchive rootLocation)

ModuleContentLinker

protected ModuleContentLinker()
Method Detail

createJarUrl

public static java.net.URL createJarUrl(java.io.File jarFile,
                                        java.lang.String entry)
                                 throws java.net.MalformedURLException,
                                        java.io.IOException
Throws:
java.net.MalformedURLException
java.io.IOException

getEntryAsUrl

public static java.net.URL getEntryAsUrl(java.io.File moduleLocation,
                                         java.lang.String uri)
                                  throws java.net.MalformedURLException,
                                         java.io.IOException
Throws:
java.net.MalformedURLException
java.io.IOException

accept

public void accept(ServiceReferenceDescriptor serviceRef)
Description copied from class: DefaultDOLVisitor
visits a web service reference descriptor

Specified by:
accept in interface ComponentVisitor
Overrides:
accept in class DefaultDOLVisitor

accept

public void accept(WebService webService)
Description copied from class: DefaultDOLVisitor
visits a web service definition

Specified by:
accept in interface EjbBundleVisitor
Specified by:
accept in interface WebBundleVisitor
Overrides:
accept in class DefaultDOLVisitor


Copyright © 2012 GlassFish Community. All Rights Reserved.