Class BaseSoftwareComponentCollectorImpl

    • Constructor Detail

      • BaseSoftwareComponentCollectorImpl

        public BaseSoftwareComponentCollectorImpl()
    • Method Detail

      • getProductSoftwareComponentDeployments

        public java.util.List getProductSoftwareComponentDeployments()
      • setProductSoftwareComponentDeployments

        public void setProductSoftwareComponentDeployments​(java.util.List productSoftwareComponentDeployments)
      • getCreator

        public com.sap.sup.admin.sldsupplier.sc.ProductInformationCreator getCreator()
      • createProductInformationCreator

        protected com.sap.sup.admin.sldsupplier.sc.ProductInformationCreator createProductInformationCreator()
      • setCreator

        public void setCreator​(com.sap.sup.admin.sldsupplier.sc.ProductInformationCreator creator)
      • setTomcatConfiguration

        public void setTomcatConfiguration​(TomcatConfiguration tomcatConfiguration)
      • getMaxSoftwareComponentLookupLevel

        public int getMaxSoftwareComponentLookupLevel()
      • setMaxSoftwareComponentLookupLevel

        public void setMaxSoftwareComponentLookupLevel​(int softwareComponentLookupLevel)
      • getCurrentSoftwareComponentLookupLevel

        public int getCurrentSoftwareComponentLookupLevel()
      • setCurrentSoftwareComponentLookupLevel

        public void setCurrentSoftwareComponentLookupLevel​(int currentSoftwareComponentLookupLevel)
      • loadApplicationSoftwareComponentDeploymentsFromDir

        protected java.util.List loadApplicationSoftwareComponentDeploymentsFromDir​(java.io.File appDeploymentDir,
                                                                                    TomcatProductSoftwareComponentDeployment template)
                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • loadApplicationSoftwareComponentDeploymentsFromWar

        protected java.util.List loadApplicationSoftwareComponentDeploymentsFromWar​(java.io.File appDeploymentDir,
                                                                                    TomcatProductSoftwareComponentDeployment template)
                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • loadApplicationSoftwareComponentDeploymentsFromZip

        protected java.util.List loadApplicationSoftwareComponentDeploymentsFromZip​(java.util.zip.ZipInputStream zis,
                                                                                    java.lang.String destDirName,
                                                                                    TomcatProductSoftwareComponentDeployment template)
                                                                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getApplicationDeploymentDir

        protected java.io.File getApplicationDeploymentDir​(TomcatWebModule webModule,
                                                           TomcatEngine engine)
        Returns the installation directory of the given Web application and Tomcat engine object. Following cases are currently considered 1) If TomcatWebModule.getDocBase() exists it is assumed to be the installation directory of the Web module. If not => 2) 2) If The default TomcatHost.getBaseDir() exists, the path TomcatHost.getBaseDir()/TomcatWebModule.getDocBase() is assumed to be the installation directory of the Web module. 3) The expression TomcatEngine.getBaseDir()/TomcatHost.getBaseDir()/TomcatWebModule.getDocBase() is assumed to be the installation directory of the Web module.
        Parameters:
        webModule -
        engine -
        Returns:
        File object to the installation directory of the Web module
      • buildWebModule

        protected TomcatWebModule buildWebModule​(javax.management.ObjectName webModuleName)
                                          throws javax.management.ReflectionException,
                                                 javax.management.AttributeNotFoundException,
                                                 javax.management.MBeanException,
                                                 javax.management.InstanceNotFoundException
        Throws:
        javax.management.ReflectionException
        javax.management.AttributeNotFoundException
        javax.management.MBeanException
        javax.management.InstanceNotFoundException
      • buildWebModule70

        protected TomcatWebModule buildWebModule70​(javax.management.ObjectName webModuleName)
                                            throws javax.management.ReflectionException,
                                                   javax.management.AttributeNotFoundException,
                                                   javax.management.MBeanException,
                                                   javax.management.InstanceNotFoundException
        Throws:
        javax.management.ReflectionException
        javax.management.AttributeNotFoundException
        javax.management.MBeanException
        javax.management.InstanceNotFoundException