public class ALFactory
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
Copyright
|
Constructor and Description |
---|
ALFactory() |
Modifier and Type | Method and Description |
---|---|
static ArtifactLoader |
create(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
Create an ArtifactLoader instance.
|
static ArtifactLoader |
create(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile,
com.ibm.websphere.management.application.Scheduler scheduler)
Create a ArtifactLoader instance, for use from application install or sync tasks.
|
static ArtifactLoader |
create(java.lang.String path)
Create an ArtifactLoader based on a file directory.
|
static void |
remove(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
Remove the instance AL created based on an Archive (ear file).
|
static void |
remove(java.lang.String path)
Remove an ArtifactLoader instance that is created by ALFactory.create(String path);
|
public static final java.lang.String COPYRIGHT
public static ArtifactLoader create(java.lang.String path)
path
- the path to a file directory which will be the scope of
newly created AL.public static ArtifactLoader create(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile, com.ibm.websphere.management.application.Scheduler scheduler)
earFile
- serverTargets
- The target application server list which the earFile or any submodules will be deployed tobla
- The name of the bla if this earfile is being deployed as part of a BLA. Can be null.public static ArtifactLoader create(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
earFile
- java.lang.IllegalArgumentException
- if the application does not exist in the configuration repositorypublic static void remove(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
earFile
- an commmon archive (ear file), can not be null.public static void remove(java.lang.String path)
path
-