com.ibm.wsspi.al

Class ALFactory

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.al.ALFactory

  1. public class ALFactory
  2. extends java.lang.Object
Factory to create/remove AdminAL

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
COPYRIGHT
Copyright

Constructor Summary

Constructor and Description
ALFactory()

Method Summary

Modifier and Type Method and Description
  1. static
  2. ArtifactLoader
create(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
Create an ArtifactLoader instance.
  1. static
  2. 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.
  1. static
  2. ArtifactLoader
create(java.lang.String path)
Create an ArtifactLoader based on a file directory.
  1. static
  2. void
remove(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
Remove the instance AL created based on an Archive (ear file).
  1. static
  2. void
remove(java.lang.String path)
Remove an ArtifactLoader instance that is created by ALFactory.create(String path);
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail

  1. public static final java.lang.String COPYRIGHT
Copyright
See Also:

Constructor Detail

ALFactory

  1. public ALFactory()

Method Detail

create

  1. public static ArtifactLoader create( java.lang.String path)
Create an ArtifactLoader based on a file directory. When executed in the application server environment, the created profile will include shared library archives referenced, searching the current process application (bla) or global library.
Parameters:
path - the path to a file directory which will be the scope of newly created AL.
Returns:
ArtifactLoader a AL instance whose visibility scope is the file directory.

create

  1. public static ArtifactLoader create( org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile,
  2. com.ibm.websphere.management.application.Scheduler scheduler)
Create a ArtifactLoader instance, for use from application install or sync tasks. When executed in the application server environment, the created profile will include shared library archives referenced, searching the current process application (bla) or global library. The ALFactory.create(Archive) signature requires application installation completion in order to search for required libraries. Use this signature when application install is in progress, providing the Scheduler instance provided to the task.
Parameters:
earFile -
Returns:
the ArtifactLoader instance

create

  1. public static ArtifactLoader create( org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
Create an ArtifactLoader instance. When executed in the application server environment, the created profile will include shared library archives referenced, searching the current process application (bla) or global library. The application must be installed in order to search for the libraries. If application installation is currently in progress, use create(Archive,Scheduler) instead.
Parameters:
earFile -
Returns:
the ArtifactLoader instance
Throws:
java.lang.IllegalArgumentException - if the application does not exist in the configuration repository

remove

  1. public static void remove(org.eclipse.jst.j2ee.commonarchivecore.internal.Archive earFile)
Remove the instance AL created based on an Archive (ear file).
Parameters:
earFile - an commmon archive (ear file), can not be null.

remove

  1. public static void remove(java.lang.String path)
Remove an ArtifactLoader instance that is created by ALFactory.create(String path);
Parameters:
path -