Class KarsMBeanImpl

    • Method Detail

      • create

        public void create​(String repoName,
                           List<String> features)
        Description copied from interface: KarsMBean
        Create a kar file for a list of feature repos
        Specified by:
        create in interface KarsMBean
        Parameters:
        repoName - the name of features repository
        features - the features to include in the kar
      • install

        public void install​(String url,
                            boolean noAutoStartBundles)
                     throws MBeanException
        Description copied from interface: KarsMBean
        Install a KAR file from a given URL and decide to start or not the bundles.
        Specified by:
        install in interface KarsMBean
        Parameters:
        url - the KAR URL.
        noAutoStartBundles - true to not automatically start the bundles, false else.
        Throws:
        MBeanException - in case of installation failure.
      • install

        public void install​(String url,
                            boolean noAutoStartBundles,
                            boolean noAutoRefreshBundles)
                     throws MBeanException
        Description copied from interface: KarsMBean
        Install a KAR file from a given URL.
        Specified by:
        install in interface KarsMBean
        Parameters:
        url - the KAR URL.
        noAutoStartBundles - true to not automatically start the bundles, false else.
        noAutoRefreshBundles - true to not automatically refresh the bundles, false else.
        Throws:
        MBeanException - in case of installation failure.
      • uninstall

        public void uninstall​(String name,
                              boolean noAutoRefreshBundles)
                       throws MBeanException
        Description copied from interface: KarsMBean
        Uninstall a KAR file.
        Specified by:
        uninstall in interface KarsMBean
        Parameters:
        name - the name of the KAR file.
        noAutoRefreshBundles - true to not automatically refresh bundles, false else.
        Throws:
        MBeanException - in case of uninstall failure.
      • getKarService

        public KarService getKarService()
      • setKarService

        public void setKarService​(KarService karService)