com.ibm.wala.j2ee
Class J2EEAnalysisScope

java.lang.Object
  extended by com.ibm.wala.ipa.callgraph.AnalysisScope
      extended by com.ibm.wala.j2ee.J2EEAnalysisScope

public class J2EEAnalysisScope
extends AnalysisScope

Description of analysis for EJBs


Field Summary
 
Fields inherited from class com.ibm.wala.ipa.callgraph.AnalysisScope
APPLICATION, EXTENSION, loadersByName, PRIMORDIAL, SYNTHETIC
 
Constructor Summary
J2EEAnalysisScope(java.lang.String baseScope, java.lang.ClassLoader loader, boolean lifecycleEntrypoints)
           
J2EEAnalysisScope(java.lang.String baseScope, java.lang.ClassLoader loader, java.io.File exclusionsFile, boolean lifecycleEntrypoints)
           
 
Method Summary
 void addToApplicationLoader(AnalysisScope scope)
          Add each Module in application loader of the passed-in scope, to the application loader of this scope.
static J2EEAnalysisScope make(java.util.jar.JarFile[] J2SELibs, java.util.jar.JarFile[] J2EELibs, java.lang.ClassLoader loader, boolean lifecycleEntrypoints)
           
static J2EEAnalysisScope make(java.util.jar.JarFile[] J2SELibs, java.util.jar.JarFile[] J2EELibs, java.lang.String exclusionsFile, java.lang.ClassLoader loader, boolean lifecycleEntrypoints)
           
static J2EEAnalysisScope make(Module[] J2SELibs, Module[] J2EELibs, java.lang.String exclusionsFile, java.lang.ClassLoader loader, boolean lifecycleEntrypoints)
           
static J2EEAnalysisScope makeDefault(java.lang.ClassLoader loader, boolean lifecycleEntrypoints)
           
 boolean useEJBLifecycleEntrypoints()
           
 
Methods inherited from class com.ibm.wala.ipa.callgraph.AnalysisScope
addClassFileToScope, addSourceFileToScope, addToScope, addToScope, addToScope, addToScopeHead, classLoaderName2Ref, createJavaAnalysisScope, findMethod, getApplicationLoader, getArrayClassLoader, getBaseLanguages, getExclusions, getExclusionString, getExtensionLoader, getJavaLibraryVersion, getLanguage, getLanguages, getLoader, getLoaderImpl, getLoaders, getModules, getNumberOfLoaders, getPrimordialLoader, getSyntheticLoader, initCoreForJava, initForJava, initSynthetic, isApplicationLoader, isJava14Libraries, isJava15Libraries, isJava16Libraries, setExclusions, setLoaderImpl, toShallowAnalysisScope, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

J2EEAnalysisScope

public J2EEAnalysisScope(java.lang.String baseScope,
                         java.lang.ClassLoader loader,
                         boolean lifecycleEntrypoints)
                  throws java.io.IOException
Parameters:
lifecycleEntrypoints - Should EJB lifecycle entrypoints be considered as call graph entrypoints?
Throws:
java.io.IOException

J2EEAnalysisScope

public J2EEAnalysisScope(java.lang.String baseScope,
                         java.lang.ClassLoader loader,
                         java.io.File exclusionsFile,
                         boolean lifecycleEntrypoints)
                  throws java.io.IOException
Parameters:
lifecycleEntrypoints - Should EJB lifecycle entrypoints be considered as call graph entrypoints?
Throws:
java.io.IOException
Method Detail

makeDefault

public static J2EEAnalysisScope makeDefault(java.lang.ClassLoader loader,
                                            boolean lifecycleEntrypoints)
                                     throws java.io.IOException
Parameters:
lifecycleEntrypoints - Should EJB lifecycle entrypoints be considered as call graph entrypoints?
Throws:
java.io.IOException

make

public static J2EEAnalysisScope make(java.util.jar.JarFile[] J2SELibs,
                                     java.util.jar.JarFile[] J2EELibs,
                                     java.lang.ClassLoader loader,
                                     boolean lifecycleEntrypoints)
                              throws java.io.IOException
Throws:
java.io.IOException

make

public static J2EEAnalysisScope make(java.util.jar.JarFile[] J2SELibs,
                                     java.util.jar.JarFile[] J2EELibs,
                                     java.lang.String exclusionsFile,
                                     java.lang.ClassLoader loader,
                                     boolean lifecycleEntrypoints)
                              throws java.io.IOException
Parameters:
lifecycleEntrypoints - Should EJB lifecycle entrypoints be considered as call graph entrypoints?
Throws:
java.io.IOException

make

public static J2EEAnalysisScope make(Module[] J2SELibs,
                                     Module[] J2EELibs,
                                     java.lang.String exclusionsFile,
                                     java.lang.ClassLoader loader,
                                     boolean lifecycleEntrypoints)
                              throws java.io.IOException
Parameters:
lifecycleEntrypoints - Should EJB lifecycle entrypoints be considered as call graph entrypoints?
Throws:
java.io.IOException

useEJBLifecycleEntrypoints

public boolean useEJBLifecycleEntrypoints()

addToApplicationLoader

public void addToApplicationLoader(AnalysisScope scope)
Add each Module in application loader of the passed-in scope, to the application loader of this scope.

Parameters:
scope - an analysis scope.
Throws:
java.lang.IllegalArgumentException - if scope is null