Class RegistryUsagePersistingListener
java.lang.Object
org.wso2.carbon.registry.core.jdbc.handlers.Handler
org.wso2.carbon.usage.agent.listeners.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.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddump(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, 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 Details
-
RegistryUsagePersistingListener
public RegistryUsagePersistingListener()
-
-
Method Details
-
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
-