Class RegistryUsagePersistingListener


  • public class RegistryUsagePersistingListener
    extends org.wso2.carbon.registry.core.jdbc.handlers.Handler
    Handler that intercept the registry calls Currently this handler is not registered because there is a similar handler RegistryUsageHandler After examining properly this class will be deleted.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void dump​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext requestContext)  
      org.wso2.carbon.registry.core.Resource get​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)  
      void importResource​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)  
      void put​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)  
      static void registerRegistryUsagePersistingListener​(org.wso2.carbon.registry.core.config.RegistryContext registryContext)  
      void restore​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext requestContext)  
      • Methods inherited from class org.wso2.carbon.registry.core.jdbc.handlers.Handler

        addAssociation, addComment, applyTag, copy, createLink, createVersion, delete, dumpLite, editComment, equals, executeQuery, getAllAssociations, getAssociations, getAverageRating, getComments, getRating, getRegistryContext, getResourcePathsWithTag, getTags, getVersions, hashCode, importChild, invokeAspect, move, putChild, rateResource, removeAssociation, removeComment, removeLink, removeTag, rename, resourceExists, restoreVersion, searchContent
    • Constructor Detail

      • RegistryUsagePersistingListener

        public RegistryUsagePersistingListener()
    • Method Detail

      • put

        public void put​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)
                 throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Overrides:
        put in class org.wso2.carbon.registry.core.jdbc.handlers.Handler
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • importResource

        public void importResource​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)
                            throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Overrides:
        importResource in class org.wso2.carbon.registry.core.jdbc.handlers.Handler
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • get

        public org.wso2.carbon.registry.core.Resource get​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)
                                                   throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Overrides:
        get in class org.wso2.carbon.registry.core.jdbc.handlers.Handler
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • dump

        public void dump​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext requestContext)
                  throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Overrides:
        dump in class org.wso2.carbon.registry.core.jdbc.handlers.Handler
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • restore

        public void restore​(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext requestContext)
                     throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Overrides:
        restore in class org.wso2.carbon.registry.core.jdbc.handlers.Handler
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException
      • registerRegistryUsagePersistingListener

        public static void registerRegistryUsagePersistingListener​(org.wso2.carbon.registry.core.config.RegistryContext registryContext)
                                                            throws org.wso2.carbon.registry.core.exceptions.RegistryException
        Throws:
        org.wso2.carbon.registry.core.exceptions.RegistryException