Class RegistryUsageListener

java.lang.Object
org.wso2.carbon.registry.core.jdbc.handlers.Handler
org.wso2.carbon.usage.agent.listeners.RegistryUsageListener

public class RegistryUsageListener extends org.wso2.carbon.registry.core.jdbc.handlers.Handler
Handler that intercept the registry calls
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)
     
    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, 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

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RegistryUsageListener

      public RegistryUsageListener()
  • Method Details

    • 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
    • delete

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