com.ibm.wsspi.al

Class ALFactory

  • java.lang.Object
    • com.ibm.wsspi.al.ALFactory


  • public class ALFactory
    extends java.lang.Object
    Factory to create/remove AdminAL
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Copyright
    • Constructor Summary

      Constructors 
      Constructor and Description
      ALFactory() 
    • Method Summary

      Methods 
      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);
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ALFactory

        public ALFactory()
    • Method Detail

      • create

        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

        public 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. 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 -
        serverTargets - The target application server list which the earFile or any submodules will be deployed to
        bla - The name of the bla if this earfile is being deployed as part of a BLA. Can be null.
        Returns:
        the ArtifactLoader instance
      • create

        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

        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

        public static void remove(java.lang.String path)
        Remove an ArtifactLoader instance that is created by ALFactory.create(String path);
        Parameters:
        path -
IBM Business Process ManagerTM
Release 8