Hi Manjula,

I think you may have to write a new method to delete a specific collection
and it's children cache (may be using a similar method like removeCache
above, recursively.) I don't think there's an out of the box method for
$subject as of now.

Shazni Nazeer

Senior Software Engineer

Mob : +94 777737331
LinkedIn : http://lk.linkedin.com/in/shazninazeer
Blog : http://shazninazeer.blogspot.com

On Tue, Feb 10, 2015 at 7:03 AM, Manjula Rathnayake <[email protected]>
wrote:

> Hi all,
>
> I am looking for the $Subject. I found
> LifecycleBeanPopulator.removeCache(Registry registry, String path) method
> in [1]. But this removes the cache for a given resource path only. If there
> are child resources in the given resource path, the caches of those child
> resources are not removed.
> Do we have another utility class for the $Subject?
>
> [1].
> https://github.com/wso2-dev/carbon-governance/blob/master/components/governance/org.wso2.carbon.governance.custom.lifecycles.checklist/src/main/java/org/wso2/carbon/governance/custom/lifecycles/checklist/util/LifecycleBeanPopulator.java
>
> thank you.
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to