Examples of PostUnInstallType


Examples of org.jboss.ejb3.packagemanager.metadata.PostUnInstallType

    * @see org.jboss.ejb3.packagemanager.PackageContext#getPostUnInstallScripts()
    */
   @Override
   public List<ScriptType> getPostUnInstallScripts()
   {
      PostUnInstallType postUnInstall = this.pkg.getPostUninstall();
      if (postUnInstall == null)
      {
         return Collections.EMPTY_LIST;
      }
      List<ScriptType> postUnInstallScripts = postUnInstall.getScripts();
      if (postUnInstallScripts == null)
      {
         return Collections.EMPTY_LIST;
      }
      return Collections.unmodifiableList(postUnInstallScripts);
View Full Code Here

Examples of org.jboss.ejb3.packagemanager.metadata.PostUnInstallType

                  PreUnInstallType preUnInstall = processPreUnInstall(pkgMeta, xmlStreamReader);
                  pkgMeta.setPreUnInstall(preUnInstall);
               }
               else if (childElement.equals("post-uninstall"))
               {
                  PostUnInstallType postUnInstall = processPostUnInstall(pkgMeta, xmlStreamReader);
                  pkgMeta.setPostUnInstall(postUnInstall);
               }
               else if (childElement.equals("dependencies"))
               {
                  DependenciesType dependencies = this.processDependencies(pkgMeta, xmlStreamReader);
View Full Code Here

Examples of org.jboss.ejb3.packagemanager.metadata.PostUnInstallType

    * @throws Exception
    */
   private PostUnInstallType processPostUnInstall(PackageType pkgMeta, XMLStreamReader2 xmlStreamReader)
         throws Exception
   {
      PostUnInstallType postUnInstall = new PostUnInstallImpl(pkgMeta);
      int event = xmlStreamReader.next();
      while (event != XMLEvent.END_ELEMENT)
      {
         switch (event)
         {
            case XMLEvent.START_ELEMENT :
               String childElement = xmlStreamReader.getLocalName();
               if (childElement.equals("script"))
               {
                  PostUnInstallScript script = processPostUnInstallScript(postUnInstall, xmlStreamReader);
                  postUnInstall.addScript(script);
               }
               break;
         }
         event = xmlStreamReader.next();
      }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.