| Modifier and Type | Method and Description |
|---|---|
boolean |
RarDetector.handles(ReadableArchive archive)
This method is used to detect the archive type.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
ConnectorArchivist.postHandles(ReadableArchive abstractArchive) |
protected void |
ConnectorArchivist.postOpen(ConnectorDescriptor descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action
|
| Modifier and Type | Method and Description |
|---|---|
List<URI> |
RarHandler.getClassPathURIs(ReadableArchive archive)
Returns the classpath URIs for this archive.
|
boolean |
RarHandler.handles(ReadableArchive archive)
Returns true if this handler understands the specified archive and
can process it.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractReadableArchive
Common methods for ReadableArchive implementations
|
class |
FileArchive
This implementation of the Archive interface maps to a directory/file
structure.
|
| Modifier and Type | Field and Description |
|---|---|
protected ReadableArchive |
AbstractReadableArchive.parentArchive |
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
AbstractReadableArchive.getParentArchive()
get the parent archive of this archive
|
ReadableArchive |
FileArchive.getSubArchive(String name)
create or obtain an embedded archive within this abstraction.
|
ReadableArchive |
ArchiveFactory.openArchive(File path) |
ReadableArchive |
ArchiveFactory.openArchive(File path,
DeployCommandParameters properties)
It first consults
ReadableArchiveFactory to get an archive, if it does not get then delegates to
ArchiveFactory.openArchive(java.net.URI). |
ReadableArchive |
ArchiveFactory.openArchive(URI path)
Opens an existing archivist using the URL as the path.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractReadableArchive.setParentArchive(ReadableArchive parentArchive)
set the parent archive for this archive
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ModuleScanner.addLibraryJars(T bundleDesc,
ReadableArchive moduleArchive) |
protected void |
ModuleScanner.completeProcess(T bundleDescr,
ReadableArchive archive)
Performs all additional work after the "process" method has finished.
|
void |
AppClientScanner.process(ReadableArchive archive,
ApplicationClientDescriptor bundleDesc,
ClassLoader classLoader,
org.glassfish.hk2.classmodel.reflect.Parser parser) |
void |
ModuleScanner.process(ReadableArchive archiveFile,
T bundleDesc,
ClassLoader classLoader,
org.glassfish.hk2.classmodel.reflect.Parser parser) |
| Modifier and Type | Method and Description |
|---|---|
protected static Map<String,ReadableArchive> |
PersistenceArchivist.getProbablePersistenceRoots(ReadableArchive parentArchive,
PersistenceArchivist.SubArchivePURootScanner subArchivePURootScanner)
Gets probable persitence roots from given parentArchive using given subArchiveRootScanner
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
EARBasedPersistenceHelper.addLibraryAndTopLevelCandidates(ReadableArchive earArchive,
Application app,
boolean includeTopLevel,
Map<String,ReadableArchive> probablePersistentArchives)
Adds candidate persistence archives from the EAR's library directory
and, if selected, from the top-level.
|
void |
Archivist.copyAnEntry(ReadableArchive in,
WritableArchive out,
String entryName) |
void |
Archivist.copyExtraElements(ReadableArchive in,
WritableArchive out) |
void |
ApplicationArchivist.copyInto(Application a,
ReadableArchive source,
WritableArchive target)
Copy this archivist to a new abstract archive
|
void |
ApplicationArchivist.copyInto(Application a,
ReadableArchive source,
WritableArchive target,
boolean overwriteManifest)
Copy this archivist to a new abstract archive
|
void |
ApplicationArchivist.copyInto(ReadableArchive source,
WritableArchive target)
Copy this archivist to a new abstract archive
|
void |
Archivist.copyInto(ReadableArchive source,
WritableArchive target)
Copy source archivist to a target abstract archive.
|
void |
Archivist.copyInto(ReadableArchive source,
WritableArchive target,
boolean overwriteManifest)
Copy source archivist to a target abstract archive.
|
void |
Archivist.copyInto(ReadableArchive source,
WritableArchive target,
Vector entriesToSkip)
Copy source archivist to a target abstract archive.
|
void |
Archivist.copyInto(ReadableArchive source,
WritableArchive target,
Vector entriesToSkip,
boolean overwriteManifest)
Copy this archivist to a new abstract archive
|
protected void |
Archivist.copyJarElements(ReadableArchive in,
WritableArchive out,
Vector ignoreList)
copy all contents of a jar file to a new jar file except
for all the deployment descriptors files
|
void |
Archivist.copyStandardDeploymentDescriptors(ReadableArchive in,
WritableArchive out) |
Application |
ApplicationArchivist.createApplication(ReadableArchive archive,
boolean directory)
This method creates a top level Application object for an ear.
|
Application |
ApplicationFactory.createApplicationFromStandardDD(ReadableArchive archive,
String archiveType)
This method creates an Application object from reading the
standard deployment descriptor.
|
ConfigurationDeploymentDescriptorFile |
ExtensionsArchivist.getConfigurationDDFile(Archivist main,
RootDeploymentDescriptor descriptor,
ReadableArchive archive) |
Vector |
Archivist.getListOfFilesToSkip(ReadableArchive archive) |
protected static Map<String,ReadableArchive> |
PersistenceArchivist.getProbablePersistenceRoots(ReadableArchive parentArchive,
PersistenceArchivist.SubArchivePURootScanner subArchivePURootScanner)
Gets probable persitence roots from given parentArchive using given subArchiveRootScanner
|
protected String |
ServerSidePersistenceArchivist.getPuRoot(ReadableArchive archive) |
protected String |
PersistenceArchivist.getPuRoot(ReadableArchive archive) |
String |
Archivist.getRuntimeDeploymentDescriptorPath(ReadableArchive archive) |
boolean |
Archivist.handles(ReadableArchive archive)
Returns true if this archivist is capable of handling the archive type
Here we check for the existence of the deployment descriptors
|
boolean |
Archivist.hasRuntimeDeploymentDescriptor(ReadableArchive archive) |
boolean |
Archivist.hasStandardDeploymentDescriptor(ReadableArchive archive) |
Object |
EarPersistenceArchivist.open(Archivist main,
ReadableArchive earArchive,
RootDeploymentDescriptor descriptor)
Reads persistence.xml from spec defined pu roots of an ear.
|
Object |
ACCPersistenceArchivist.open(Archivist main,
ReadableArchive archive,
RootDeploymentDescriptor descriptor) |
Object |
WarPersistenceArchivist.open(Archivist main,
ReadableArchive warArchive,
RootDeploymentDescriptor descriptor) |
Object |
ExtensionsArchivist.open(Archivist main,
ReadableArchive archive,
RootDeploymentDescriptor descriptor)
Read the standard deployment descriptor of the extension
|
Object |
PersistenceArchivist.open(Archivist main,
ReadableArchive archive,
RootDeploymentDescriptor descriptor) |
Application |
ApplicationArchivist.open(ReadableArchive appArchive)
open a new application archive file, read all the deployment descriptors
|
T |
Archivist.open(ReadableArchive archive)
Open a new archive file, read the deployment descriptors and annotations * and set the constructed DOL descriptor instance
|
T |
Archivist.open(ReadableArchive archive,
Application app) |
T |
Archivist.open(ReadableArchive descriptorArchive,
ReadableArchive contentArchive) |
T |
Archivist.open(ReadableArchive descriptorArchive,
ReadableArchive contentArchive,
Application app)
Creates the DOL object graph for an app for which the descriptor(s)
reside in one archive and the content resides in another.
|
ApplicationClientDescriptor |
AppClientArchivist.open(ReadableArchive archive,
String mainClassNameToRun) |
Application |
ApplicationFactory.openArchive(Archivist archivist,
ReadableArchive in,
boolean handleRuntimeInfo)
Open a jar file and return an application object for the modules contained
in the archive.
|
Application |
ApplicationFactory.openArchive(String appName,
Archivist archivist,
ReadableArchive in,
boolean handleRuntimeInfo)
Open a jar file and return an application object for the modules contained
in the archive.
|
Application |
ApplicationArchivist.openWith(Application application,
ReadableArchive archive) |
Application |
Archivist.openWith(Application app,
ReadableArchive archive) |
Application |
ApplicationFactory.openWith(Application application,
ReadableArchive archive,
Archivist archivist)
This method populates the rest of the Application object from the
previous standard deployment descriptor reading
|
boolean |
ApplicationArchivist.performOptionalPkgDependenciesCheck(ReadableArchive archive)
Perform Optional packages dependencies checking on an archive
|
boolean |
Archivist.performOptionalPkgDependenciesCheck(ReadableArchive archive)
Perform Optional packages dependencies checking on an archive
|
protected void |
Archivist.postAnnotationProcess(T descriptor,
ReadableArchive archive)
perform any action after annotation processed
|
protected boolean |
ApplicationArchivist.postHandles(ReadableArchive abstractArchive)
This method will be invoked if and only if the following is true: 1.
|
protected boolean |
AppClientArchivist.postHandles(ReadableArchive archive) |
protected abstract boolean |
Archivist.postHandles(ReadableArchive archive)
Returns true if this archivist is capable of handling the archive type
Here we check for the existence of the deployment descriptors
|
protected void |
AppClientArchivist.postOpen(ApplicationClientDescriptor descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action
|
protected void |
Archivist.postOpen(T descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action
|
void |
Archivist.postRuntimeDDsRead(T descriptor,
ReadableArchive archive)
perform any action after all runtime DDs read
|
protected void |
AppClientArchivist.postStandardDDsRead(ApplicationClientDescriptor descriptor,
ReadableArchive archive,
Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
perform any action after all standard DDs is read
|
protected void |
Archivist.postStandardDDsRead(T descriptor,
ReadableArchive archive,
Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
perform any action after all standard DDs is read
|
protected void |
Archivist.postValidate(BundleDescriptor bundleDesc,
ReadableArchive archive) |
protected ProcessingResult |
Archivist.processAnnotations(RootDeploymentDescriptor bundleDesc,
ModuleScanner scanner,
ReadableArchive archive)
Process annotations in a bundle descriptor, the annoation processing
is dependent on the type of descriptor being passed.
|
ProcessingResult |
Archivist.processAnnotations(T bundleDesc,
ReadableArchive archive)
Process annotations in a bundle descriptor, the annoation processing
is dependent on the type of descriptor being passed.
|
protected void |
Archivist.readAnnotations(ReadableArchive archive,
T descriptor,
Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
Read all Java EE annotations
|
protected void |
Archivist.readAnnotations(ReadableArchive archive,
T descriptor,
Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions,
ModuleScanner scanner) |
Object |
Archivist.readMetaInfo(ReadableArchive archive) |
boolean |
ApplicationArchivist.readModulesDescriptors(Application app,
ReadableArchive appArchive)
read the modules deployment descriptor from this application object using the passed archive
|
protected PersistenceUnitsDescriptor |
PersistenceArchivist.readPersistenceDeploymentDescriptor(Archivist main,
ReadableArchive subArchive,
String puRoot,
RootDeploymentDescriptor descriptor) |
Object |
ExtensionsArchivist.readRuntimeDeploymentDescriptor(Archivist main,
ReadableArchive archive,
RootDeploymentDescriptor descriptor)
Read the runtime deployment descriptors of the extension
|
void |
ApplicationArchivist.readRuntimeDeploymentDescriptor(ReadableArchive archive,
Application descriptor)
Read the runtime deployment descriptors (can contained in one or many file) set the corresponding information in the
passed descriptor.
|
void |
Archivist.readRuntimeDeploymentDescriptor(ReadableArchive archive,
T descriptor)
Read the runtime deployment descriptors (can contained in one or
many file) set the corresponding information in the passed descriptor.
|
void |
Archivist.readRuntimeDeploymentDescriptor(ReadableArchive archive,
T descriptor,
boolean warnIfMultipleDDs)
Read the runtime deployment descriptors (can contained in one or
many file) set the corresponding information in the passed descriptor.
|
T |
Archivist.readStandardDeploymentDescriptor(ReadableArchive archive)
Read the standard deployment descriptors (can contained in one or
many file) and return the corresponding initialized descriptor instance.
|
void |
DescriptorArchivist.write(Application application,
ReadableArchive in,
WritableArchive out)
writes an application deployment descriptors
|
protected void |
DescriptorArchivist.write(BundleDescriptor bundle,
Archivist archivist,
ReadableArchive in,
WritableArchive out)
writes a bundle descriptor
|
void |
Archivist.write(ReadableArchive in,
String outPath)
save the archive
|
void |
Archivist.write(ReadableArchive in,
WritableArchive out) |
protected void |
ApplicationArchivist.writeContents(ReadableArchive in,
WritableArchive out)
writes the content of an archive to a JarFile
|
protected void |
Archivist.writeContents(ReadableArchive in,
WritableArchive out)
writes the content of an archive to another archive
|
protected void |
AppClientArchivist.writeContents(ReadableArchive in,
WritableArchive out,
Vector entriesToSkip)
writes the content of an archive to a JarFile
|
protected void |
Archivist.writeContents(ReadableArchive in,
WritableArchive out,
Vector entriesToSkip)
writes the content of an archive to a JarFile
|
void |
ExtensionsArchivist.writeDeploymentDescriptors(Archivist main,
BundleDescriptor descriptor,
ReadableArchive in,
WritableArchive out)
writes the deployment descriptors (standard and runtime)
to a JarFile using the right deployment descriptor path
|
void |
PersistenceArchivist.writeDeploymentDescriptors(Archivist main,
BundleDescriptor descriptor,
ReadableArchive in,
WritableArchive out)
writes the deployment descriptors (standard and runtime)
to a JarFile using the right deployment descriptor path
|
void |
Archivist.writeDeploymentDescriptors(ReadableArchive in,
WritableArchive out)
writes the deployment descriptors (standard and runtime)
to a JarFile using the right deployment descriptor path
|
void |
Archivist.writeExtensionDeploymentDescriptors(ReadableArchive in,
WritableArchive out)
Write extension descriptors
|
void |
ExtensionsArchivist.writeRuntimeDeploymentDescriptors(Archivist main,
BundleDescriptor descriptor,
ReadableArchive in,
WritableArchive out)
writes the runtime deployment descriptors to an abstract archive
|
void |
Archivist.writeRuntimeDeploymentDescriptors(ReadableArchive in,
WritableArchive out)
writes the runtime deployment descriptors to an abstract archive
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
EARBasedPersistenceHelper.addLibraryAndTopLevelCandidates(ReadableArchive earArchive,
Application app,
boolean includeTopLevel,
Map<String,ReadableArchive> probablePersistentArchives)
Adds candidate persistence archives from the EAR's library directory
and, if selected, from the top-level.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DeploymentPlanArchive
This Archive offers an abstraction for jsr88
deployment plan as defined for the SJES Application
Server.
|
class |
InputJarArchive
This implementation of the Archive deal with reading
jar files either from a JarFile or from a JarInputStream
|
class |
MemoryMappedArchive |
class |
MultiReadableArchive
Implements ReadableArchive based on multiple underlying ReadableArchives,
each of which will be processed in order when looking up entries, finding
the manifest, etc.
|
| Modifier and Type | Field and Description |
|---|---|
protected ReadableArchive |
JarArchive.parentArchive |
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
MultiReadableArchive.getParentArchive() |
ReadableArchive |
JarArchive.getParentArchive()
get the parent archive of this archive
|
ReadableArchive |
MultiReadableArchive.getSubArchive(String name) |
ReadableArchive |
InputJarArchive.getSubArchive(String name) |
ReadableArchive |
MemoryMappedArchive.getSubArchive(String name)
create or obtain an embedded archive within this abstraction.
|
ReadableArchive |
DeploymentPlanArchive.getSubArchive(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeploymentPlanArchive.closeEntry(ReadableArchive sub)
Closes the output sub archive entry
|
void |
MultiReadableArchive.setParentArchive(ReadableArchive parentArchive) |
void |
JarArchive.setParentArchive(ReadableArchive parentArchive)
set the parent archive for this archive
|
| Constructor and Description |
|---|
MemoryMappedArchive(ReadableArchive source) |
| Modifier and Type | Method and Description |
|---|---|
T |
DeploymentDescriptorFile.read(T descriptor,
ReadableArchive in)
read and parse a J2EE Deployment Descriptor input file and
return the constructed DOL descriptors for the J2EE Module
|
| Modifier and Type | Field and Description |
|---|---|
protected ReadableArchive |
ModuleContentLinker.rootLocation_ |
| Modifier and Type | Method and Description |
|---|---|
boolean |
AnnotationDetector.containsAnnotation(ReadableArchive archive,
String entryName) |
static List<URI> |
DOLUtils.getLibraryJarURIs(Application app,
ReadableArchive archive) |
static List<URI> |
DOLUtils.getLibraryJarURIs(BundleDescriptor bundleDesc,
ReadableArchive archive) |
boolean |
AnnotationDetector.hasAnnotationInArchive(ReadableArchive archive) |
boolean |
ConnectorAnnotationDetector.hasAnnotationInArchive(ReadableArchive archive) |
boolean |
AnnotationDetector.hasAnnotationInArchiveWithNoScanning(ReadableArchive archive) |
static List<ConfigurationDeploymentDescriptorFile> |
DOLUtils.processConfigurationDDFiles(List<ConfigurationDeploymentDescriptorFile> ddFiles,
ReadableArchive archive,
ArchiveType archiveType) |
static void |
DOLUtils.readAlternativeRuntimeDescriptor(ReadableArchive appArchive,
ReadableArchive embeddedArchive,
Archivist archivist,
BundleDescriptor descriptor,
String altDDPath) |
static void |
DOLUtils.readRuntimeDeploymentDescriptor(List<ConfigurationDeploymentDescriptorFile> confDDFiles,
ReadableArchive archive,
RootDeploymentDescriptor descriptor,
Archivist main,
boolean warnIfMultipleDDs)
Read the runtime deployment descriptors (can contained in one or
many file) set the corresponding information in the passed descriptor.
|
void |
ComponentPostVisitor.setArchive(ReadableArchive archive) |
void |
ModuleContentValidator.setArchive(ReadableArchive archive) |
static void |
DOLUtils.setExtensionArchivistForSubArchivist(org.glassfish.hk2.api.ServiceLocator habitat,
ReadableArchive archive,
ModuleDescriptor md,
Application app,
Archivist subArchivist) |
| Constructor and Description |
|---|
ModuleContentLinker(ReadableArchive rootLocation) |
ModuleContentLinker(ReadableArchive rootLocation,
boolean forceWSDLURLs) |
| Modifier and Type | Method and Description |
|---|---|
List<URI> |
WarHandler.getClassPathURIs(ReadableArchive archive)
Returns the classpath URIs for this archive.
|
String |
WarHandler.getVersionIdentifier(ReadableArchive archive) |
protected WarHandler.WebXmlParser |
WarHandler.getWebXmlParser(ReadableArchive archive,
Application application) |
boolean |
WarHandler.handles(ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SecuritySniffer.handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CompositeArchive
A composite archive is a readable archive that hides the sub archives.
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
CompositeArchive.getSubArchive(String name) |
ReadableArchive |
ApplicationLifecycle.DeploymentContextBuidlerImpl.sourceAsArchive() |
| Modifier and Type | Method and Description |
|---|---|
ArchiveHandler |
ApplicationLifecycle.getArchiveHandler(ReadableArchive archive)
Returns the ArchiveHandler for the passed archive abstraction or null
if there are none.
|
ArchiveHandler |
ApplicationLifecycle.getArchiveHandler(ReadableArchive archive,
String type)
Returns the ArchiveHandler for the passed archive abstraction or null
if there are none.
|
Deployment.DeploymentContextBuilder |
ApplicationLifecycle.DeploymentContextBuidlerImpl.source(ReadableArchive archive) |
| Constructor and Description |
|---|
CompositeArchive(ReadableArchive delegate,
CompositeHandler filter) |
ReadableArchiveScannerAdapter(org.glassfish.hk2.classmodel.reflect.Parser parser,
ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
ProcessingContext.getArchive()
Returns the module archive that can be used to load files/resources,
that assist in the processing of annotations.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ProcessingContext.setArchive(ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
Sniffer.getDeploymentConfigurations(ReadableArchive source)
Returns a map of deployment configurations for this Sniffer from the
specific archive source.
|
boolean |
Sniffer.handles(ReadableArchive source)
Returns true if the passed file or directory is recognized by this
sniffer.
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
DeploymentContext.getOriginalSource()
Gets the original source archive
In case of archive deployment, this will return the archive before
expanding.
|
ReadableArchive |
DeploymentContext.getSource()
Application bits, at the raw level.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ReadableArchiveAdapter
A lot of methods need to be written in order to implement
ReadableArchive.
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
ReadableArchiveAdapter.getParentArchive() |
ReadableArchive |
ReadableArchive.getParentArchive()
get the parent archive of this archive
|
ReadableArchive |
ReadableArchiveAdapter.getSubArchive(String arg0) |
ReadableArchive |
ReadableArchive.getSubArchive(String name)
Returns an instance of this archive abstraction for an embedded
archive within this archive.
|
ReadableArchive |
ReadableArchiveFactory.open(URI archivePath,
DeployCommandParameters commandProperties)
Gives a ReadableArchive.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CompositeHandler.accept(ReadableArchive source,
String entryName) |
void |
ArchiveHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context)
Prepares the jar file to a format the ApplicationContainer is
expecting.
|
List<URI> |
ArchiveHandler.getClassPathURIs(ReadableArchive archive)
Returns the classpath URIs for this archive.
|
String |
ArchiveHandler.getDefaultApplicationName(ReadableArchive archive)
Returns the default name by which the specified archive can be
identified.
|
String |
ArchiveHandler.getDefaultApplicationName(ReadableArchive archive,
DeploymentContext context) |
Manifest |
ArchiveHandler.getManifest(ReadableArchive archive)
Returns the manifest file for this archive, this file is usually located at
the META-INF/MANIFEST location, however, certain archive type can change this
default location or use another mean of expressing manifest information.
|
String |
ArchiveHandler.getVersionIdentifier(ReadableArchive archive)
Returns the version identifier by which the specified archive can be
deployed.
|
boolean |
ArchiveDetector.handles(ReadableArchive archive)
This method is used to detect the archive type.
|
boolean |
ArchiveHandler.handles(ReadableArchive archive)
Returns true if this handler understands the specified archive and
can process it.
|
boolean |
ArchiveHandler.requiresAnnotationScanning(ReadableArchive archive)
Returns whether this archive requires annotation scanning.
|
void |
ReadableArchiveAdapter.setParentArchive(ReadableArchive parentArchive) |
void |
ReadableArchive.setParentArchive(ReadableArchive parentArchive)
set the parent archive for this archive
|
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPInputArchive
Implements ReadableArchive for the http (and https) protocol to support
launches of app clients using Java Web Start.
|
class |
HTTPSInputArchive
Implements ReadableArchive for the https protocol to support
launches of app clients using Java Web Start.
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
HTTPInputArchive.getSubArchive(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
StandAloneAppClientInfo.classContainsAnnotation(String entry,
AnnotationDetector detector,
ReadableArchive archive,
ApplicationClientDescriptor descriptor) |
protected boolean |
AppClientInfo.classContainsAnnotation(String entry,
AnnotationDetector detector,
ReadableArchive archive,
ApplicationClientDescriptor descriptor) |
protected String |
NestedAppClientInfo.getAppClientRoot(ReadableArchive archive,
ApplicationClientDescriptor descriptor) |
protected String |
AppClientInfo.getAppClientRoot(ReadableArchive archive,
ApplicationClientDescriptor descriptor) |
protected List<String> |
NestedAppClientInfo.getClassPaths(ReadableArchive archive)
Construct the classpaths.
|
protected List<String> |
AppClientInfo.getClassPaths(ReadableArchive archive) |
String |
UndeployedLaunchable.getDefaultApplicationName(ReadableArchive archive) |
| Constructor and Description |
|---|
JWSFacadeLaunchable(org.glassfish.hk2.api.ServiceLocator habitat,
Attributes mainAttrs,
ReadableArchive facadeRA) |
JWSFacadeLaunchable(org.glassfish.hk2.api.ServiceLocator habitat,
ReadableArchive facadeClientRA,
Attributes mainAttrs,
ReadableArchive clientRA,
String mainClassNameToLaunch) |
StandAloneAppClientInfo(boolean isJWS,
Logger logger,
ReadableArchive archive,
String mainClassFromCommandLine) |
| Modifier and Type | Method and Description |
|---|---|
void |
ACCAppClientArchivist.readRuntimeDeploymentDescriptor(ReadableArchive archive,
ApplicationClientDescriptor descriptor) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CarDetector.handles(ReadableArchive archive) |
boolean |
AppClientSniffer.handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
CarHandler.getVersionIdentifier(ReadableArchive archive) |
boolean |
CarHandler.handles(ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
void |
DeveloperContentHandler.init(ClassLoader loader,
TokenHelper tHelper,
File appRootDir,
ReadableArchive appClientArchive,
Map<String,StaticContent> staticContent,
Map<String,DynamicContent> dynamicContent,
AppClientDeployerHelper helper) |
| Modifier and Type | Class and Description |
|---|---|
class |
ConfigBeanArchive
This class act as an ReadableArchive implementation, delegating all possible
APIs to the JSR88 DeployObject object.
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
ConfigBeanArchive.getSubArchive(String name)
create or obtain a subarchive within this abstraction.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConfigBeanArchive.closeEntry(ReadableArchive os)
close a previously returned @see java.io.OutputStream returned
by an addEntry call
|
| Modifier and Type | Method and Description |
|---|---|
DFProgressObject |
DeploymentFacility.deploy(javax.enterprise.deploy.spi.Target[] targets,
ReadableArchive source,
ReadableArchive deploymentPlan,
Map deploymentOptions) |
DFProgressObject |
AbstractDeploymentFacility.deploy(javax.enterprise.deploy.spi.Target[] targets,
ReadableArchive source,
ReadableArchive deploymentPlan,
Map deploymentOptions) |
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
DeploymentContextImpl.getOriginalSource() |
ReadableArchive |
DeploymentContextImpl.getSource() |
| Modifier and Type | Method and Description |
|---|---|
static void |
DeploymentUtils.expand(ReadableArchive source,
WritableArchive target)
Expand an archive to a directory
|
static List<URI> |
DeploymentUtils.getExternalLibraries(ReadableArchive archive) |
static Set<String> |
InstalledLibrariesResolver.getInstalledLibraries(ReadableArchive archive) |
static List<URL> |
DeploymentUtils.getManifestLibraries(ReadableArchive archive) |
boolean |
GenericAnnotationDetector.hasAnnotationInArchive(ReadableArchive archive) |
static boolean |
DeploymentUtils.isArchiveOfType(ReadableArchive archive,
ArchiveType archiveType,
DeploymentContext context,
org.glassfish.hk2.api.ServiceLocator locator) |
static boolean |
DeploymentUtils.isArchiveOfType(ReadableArchive archive,
ArchiveType archiveType,
org.glassfish.hk2.api.ServiceLocator locator) |
void |
GenericAnnotationDetector.scanArchive(ReadableArchive archive) |
void |
AnnotationScanner.scanArchive(ReadableArchive archive) |
void |
DeploymentContextImpl.setSource(ReadableArchive source) |
| Constructor and Description |
|---|
DeploymentContextImpl(ActionReport actionReport,
Logger logger,
ReadableArchive source,
OpsParams params,
ServerEnvironment env) |
DeploymentContextImpl(ActionReport actionReport,
ReadableArchive source,
OpsParams params,
ServerEnvironment env) |
| Modifier and Type | Method and Description |
|---|---|
String |
EjbJarHandler.getVersionIdentifier(ReadableArchive archive) |
boolean |
EjbJarHandler.handles(ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EjbJarDetector.handles(ReadableArchive archive) |
boolean |
EjbSniffer.handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
EjbArchivist.postHandles(ReadableArchive abstractArchive) |
protected void |
EjbArchivist.postOpen(EjbBundleDescriptorImpl descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action
|
void |
EjbInWarArchivist.writeDeploymentDescriptors(Archivist main,
BundleDescriptor descriptor,
ReadableArchive in,
WritableArchive out)
writes the deployment descriptors (standard and runtime)
to a JarFile using the right deployment descriptor path
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
OSGiArchiveHandler.accept(ReadableArchive source,
String entryName) |
void |
OSGiArchiveHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context)
Overriding the expand method of base class(GenericHandler) in order to
support allowing wrapping of non-OSGi bundles when --type=osgi option is
used in deploy command or GUI.
|
String |
OSGiArchiveHandler.getDefaultApplicationName(ReadableArchive archive,
DeploymentContext context) |
boolean |
OSGiArchiveHandler.handles(ReadableArchive archive) |
boolean |
OSGiSniffer.handles(ReadableArchive location) |
boolean |
OSGiArchiveDetector.handles(ReadableArchive archive) |
boolean |
OSGiArchiveHandler.requiresAnnotationScanning(ReadableArchive archive)
Returns whether this archive requires annotation scanning.
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
ApplicationInfo.getSource()
Returns the directory where the application bits are located
|
| Constructor and Description |
|---|
ApplicationInfo(Events events,
ReadableArchive source,
String name)
Creates a new instance of an ApplicationInfo
|
| Modifier and Type | Method and Description |
|---|---|
ReadableArchive |
Deployment.DeploymentContextBuilder.sourceAsArchive() |
| Modifier and Type | Method and Description |
|---|---|
void |
GenericHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context)
Prepares the jar file to a format the ApplicationContainer is
expecting.
|
ArchiveHandler |
Deployment.getArchiveHandler(ReadableArchive archive) |
ArchiveHandler |
Deployment.getArchiveHandler(ReadableArchive archive,
String type) |
List<URI> |
GenericHandler.getClassPathURIs(ReadableArchive archive)
Returns the classpath URIs for this archive.
|
String |
GenericHandler.getDefaultApplicationName(ReadableArchive archive) |
String |
GenericHandler.getDefaultApplicationName(ReadableArchive archive,
DeploymentContext context)
Returns the default application name usable for identifying the archive.
|
String |
GenericHandler.getDefaultApplicationNameFromArchiveName(ReadableArchive archive) |
Map<String,String> |
GenericSniffer.getDeploymentConfigurations(ReadableArchive location)
Returns a map of deployment configurations composed by reading from a
list of paths in the readable archive.
|
Manifest |
GenericHandler.getManifest(ReadableArchive archive)
Returns the manifest file for this archive, this file is usually located at
the META-INF/MANIFEST location, however, certain archive type can change this
default location or use another mean of expressing manifest information.
|
String |
ApplicationInfoProvider.getNameFor(ReadableArchive archive,
DeploymentContext context)
return the name for the given application
|
String |
GenericHandler.getVersionIdentifier(ReadableArchive archive)
Returns the default value for versionIdentifier.
|
boolean |
GenericSniffer.handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
boolean |
GenericHandler.requiresAnnotationScanning(ReadableArchive archive)
Returns whether this archive requires annotation scanning.
|
void |
ExtendedDeploymentContext.setSource(ReadableArchive source)
Sets the source archive
|
Deployment.DeploymentContextBuilder |
Deployment.DeploymentContextBuilder.source(ReadableArchive archive) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScatteredArchive
Abstraction for a scattered archive (parts disseminated in various directories)
|
| Modifier and Type | Method and Description |
|---|---|
String |
EmbeddedDeployer.deploy(ReadableArchive archive,
DeployCommandParameters params)
Deploys an archive abstraction to the servers passing the deployment command parameters
|
| Modifier and Type | Method and Description |
|---|---|
String |
DolProvider.getNameFor(ReadableArchive archive,
DeploymentContext context)
return the name for the given application
|
protected void |
DolProvider.handleDeploymentPlan(File deploymentPlan,
Archivist archivist,
ReadableArchive sourceArchive,
ApplicationHolder holder) |
static boolean |
JavaEEDeploymentUtils.isJavaEE(ReadableArchive archive,
DeploymentContext context,
org.glassfish.hk2.api.ServiceLocator habitat)
check whether the archive is a JavaEE archive
|
static boolean |
JavaEEDeploymentUtils.isJavaEE(ReadableArchive archive,
org.glassfish.hk2.api.ServiceLocator habitat)
check whether the archive is a JavaEE archive
|
Application |
DolProvider.processDeploymentMetaData(ReadableArchive archive)
This method populates the Application object from a ReadableArchive
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
EarHandler.accept(ReadableArchive source,
String entryName) |
void |
EarHandler.expand(ReadableArchive source,
WritableArchive target,
DeploymentContext context) |
String |
EarHandler.getVersionIdentifier(ReadableArchive archive) |
boolean |
EarSniffer.handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
boolean |
EarDetector.handles(ReadableArchive archive) |
boolean |
EarHandler.handles(ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
String |
EmbeddedDeployerImpl.deploy(ReadableArchive archive,
DeployCommandParameters params) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
JPASniffer.handles(ReadableArchive location)
Returns true if the archive contains persistence.xml as defined by packaging rules of JPA
Tries to getResource("META-INF/persitsence.xml") on current classLoader.
|
protected boolean |
JPASniffer.scanForPURootsInLibDir(ReadableArchive parentArchive,
String libLocation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourcesSniffer.handles(ReadableArchive archive)
Returns true if the passed file or directory is recognized by this
instance.
|
boolean |
ResourcesCompositeSniffer.handles(ReadableArchive archive)
Returns true if the passed file or directory is recognized by this
instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourcesDeployer.getResources(ReadableArchive archive,
String appName,
List<Resource> connectorResources,
List<Resource> nonConnectorResources,
Map<Resource,ResourcesXMLParser> resourceXmlParsers)
Retrieve connector and non-connector resources from the archive.
|
void |
ResourcesDeployer.retrieveAllResourcesXMLs(Map<String,String> fileNames,
ReadableArchive archive,
String actualArchiveName) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ResourceUtil.hasResourcesXML(ReadableArchive archive,
org.glassfish.hk2.api.ServiceLocator locator) |
| Modifier and Type | Method and Description |
|---|---|
void |
WarScanner.process(ReadableArchive readableArchive,
WebBundleDescriptor webBundleDesc,
ClassLoader classLoader,
org.glassfish.hk2.classmodel.reflect.Parser parser)
This scanner will scan the archiveFile for annotation processing.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
WebArchivist.postAnnotationProcess(WebBundleDescriptorImpl descriptor,
ReadableArchive archive) |
protected boolean |
WebArchivist.postHandles(ReadableArchive abstractArchive)
In the case of web archive, the super handles() method should be able
to make a unique identification.
|
protected void |
WebArchivist.postOpen(WebBundleDescriptorImpl descriptor,
ReadableArchive archive)
perform any post deployment descriptor reading action
|
protected void |
WebArchivist.postStandardDDsRead(WebBundleDescriptorImpl descriptor,
ReadableArchive archive,
Map<ExtensionsArchivist,RootDeploymentDescriptor> extensions)
After reading all the standard deployment descriptors, merge any
resource descriptors from EJB descriptors into the WebBundleDescriptor.
|
| Modifier and Type | Method and Description |
|---|---|
protected ProcessingResult |
EmbeddedWebArchivist.processAnnotations(RootDeploymentDescriptor bundleDesc,
ModuleScanner scanner,
ReadableArchive archive) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
WarDetector.handles(ReadableArchive archive) |
boolean |
WebSniffer.handles(ReadableArchive location)
Returns true if the passed file or directory is recognized by this
instance.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
WebServicesArchivist.open(Archivist main,
ReadableArchive archive,
RootDeploymentDescriptor descriptor) |
void |
WebServicesArchivist.writeDeploymentDescriptors(Archivist main,
BundleDescriptor descriptor,
ReadableArchive in,
WritableArchive out)
writes the deployment descriptors (standard and runtime)
to a JarFile using the right deployment descriptor path
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
WebServicesSniffer.handles(ReadableArchive location)
.ear (the resource can be present in lib dir of the ear)
Returns true if the archive contains webservices.xml either in WEB-INF or META-INF directories
|
| Modifier and Type | Method and Description |
|---|---|
protected org.jboss.weld.bootstrap.spi.BeansXml |
BeanDeploymentArchiveImpl.parseBeansXML(ReadableArchive archive,
String beansXMLPath) |
void |
DeploymentImpl.scanArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext context,
String moduleName)
Produce
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive. |
| Constructor and Description |
|---|
BeanDeploymentArchiveImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx)
Produce a
BeanDeploymentArchive form information contained
in the provided ReadableArchive. |
BeanDeploymentArchiveImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext ctx,
String bdaID) |
DeploymentImpl(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext context,
ArchiveFactory archiveFactory,
String moduleName)
Produce
BeanDeploymentArchives for this Deployment
from information from the provided ReadableArchive. |
RootBeanDeploymentArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext deploymentContext) |
RootBeanDeploymentArchive(ReadableArchive archive,
Collection<EjbDescriptor> ejbs,
DeploymentContext deploymentContext,
String moduleBdaID) |
| Modifier and Type | Method and Description |
|---|---|
static InputStream |
WeldUtils.getBeansXmlInputStream(ReadableArchive archive) |
protected boolean |
WeldSniffer.isArchiveCDIEnabled(DeploymentContext context,
ReadableArchive archive,
String relativeBeansXmlPath) |
protected boolean |
WeldSniffer.isEntryPresent(ReadableArchive archive,
String entry) |
static boolean |
WeldUtils.isImplicitBeanArchive(DeploymentContext context,
ReadableArchive archive)
Determine whether the specified archive is an implicit bean deployment archive.
|
static boolean |
WeldUtils.isValidBdaBasedOnExtensionAndBeansXml(ReadableArchive archive)
Determine if an archive is a valid bda based on what the spec says about extensions.
|
Copyright © 2017. All rights reserved.