com.sun.enterprise.deployment.annotation.impl
Class AppClientScanner

java.lang.Object
  extended by org.glassfish.apf.impl.JavaEEScanner
      extended by com.sun.enterprise.deployment.annotation.impl.ModuleScanner<ApplicationClientDescriptor>
          extended by com.sun.enterprise.deployment.annotation.impl.AppClientScanner
All Implemented Interfaces:
Scanner<ApplicationClientDescriptor>

@Service(name="car")
@Scoped(value=org.jvnet.hk2.component.PerLookup.class)
public class AppClientScanner
extends ModuleScanner<ApplicationClientDescriptor>

Implementation of the Scanner interface for AppClient

This scanner overrides process(ReadableArchive...) so that when used in the ACC it will work correctly with InputJarArchive readable archives, not just the expanded directory archives during deployment on the server.

Author:
Shing Wai Chan, tjquinn

Field Summary
 
Fields inherited from class com.sun.enterprise.deployment.annotation.impl.ModuleScanner
archiveFile, classLoader, classParser, logger
 
Constructor Summary
AppClientScanner()
           
 
Method Summary
 void process(java.io.File archiveFile, ApplicationClientDescriptor bundleDesc, java.lang.ClassLoader classLoader)
           
 void process(ReadableArchive archive, ApplicationClientDescriptor bundleDesc, java.lang.ClassLoader classLoader, org.glassfish.hk2.classmodel.reflect.Parser parser)
           
 
Methods inherited from class com.sun.enterprise.deployment.annotation.impl.ModuleScanner
addLibraryJars, addScanClassName, addScanDirectory, addScanJar, addScanURI, calculateResults, completeProcess, getClassLoader, getElements, getExecutorService, getTypes, setParser
 
Methods inherited from class org.glassfish.apf.impl.JavaEEScanner
getComponentInfo, initTypes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.glassfish.apf.Scanner
getComponentInfo
 

Constructor Detail

AppClientScanner

public AppClientScanner()
Method Detail

process

public void process(ReadableArchive archive,
                    ApplicationClientDescriptor bundleDesc,
                    java.lang.ClassLoader classLoader,
                    org.glassfish.hk2.classmodel.reflect.Parser parser)
             throws java.io.IOException
Overrides:
process in class ModuleScanner<ApplicationClientDescriptor>
Throws:
java.io.IOException

process

public void process(java.io.File archiveFile,
                    ApplicationClientDescriptor bundleDesc,
                    java.lang.ClassLoader classLoader)
             throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2012 GlassFish Community. All Rights Reserved.