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.HandlerHandler that intercept the registry calls
-
-
Constructor Summary
Constructors Constructor Description RegistryUsageListener()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)voiddump(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext requestContext)org.wso2.carbon.registry.core.Resourceget(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)voidimportResource(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)voidput(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context)static voidregisterRegistryUsagePersistingListener(org.wso2.carbon.registry.core.config.RegistryContext registryContext)voidrestore(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
-
-
-
-
Method Detail
-
put
public void put(org.wso2.carbon.registry.core.jdbc.handlers.RequestContext context) throws org.wso2.carbon.registry.core.exceptions.RegistryException- Overrides:
putin classorg.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:
importResourcein classorg.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:
getin classorg.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:
dumpin classorg.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:
restorein classorg.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:
deletein classorg.wso2.carbon.registry.core.jdbc.handlers.Handler- Throws:
org.wso2.carbon.registry.core.exceptions.RegistryException
-
-