Hi Eranda, Ok, somewhere down the line, I completely misunderstood that there were multiple kinds of CCEs (related to the same) discussed in this issue, :-). Now, you can get GhostRegistry to extend UserRegistry and override the additional methods. In those, you need to cast the getRegistry() to the appropriate UserRegistry type.
The other option is to replace use the UserRegistry in components with Registry. Which is a better fix actually. But, that might result in API changes, which then becomes tricky and not doable for a patch release. Thanks, Senaka. On Sun, Sep 30, 2012 at 11:03 PM, Eranda Sooriyabandara <[email protected]>wrote: > Hi Senaka, > Here the exception says that "java.lang.ClassCastException: > org.wso2.carbon.registry.core.ghostregistry.GhostRegistry cannot be cast > to org.wso2.carbon.registry.core.session.UserRegistry" bit different from > the above case. If we going to fix this we have to extend GhostRegistry > from UserRegistry. I don't know whether it's a great idea or not. What's > your opinion on this? > > thanks > Eranda > > * > * > > -- *Senaka Fernando* Member - Integration Technologies Management Committee; Technical Lead; WSO2 Inc.; http://wso2.com* Member; Apache Software Foundation; http://apache.org E-mail: senaka AT wso2.com **P: +1 408 754 7388; ext: 51736*; *M: +94 77 322 1818 Linked-In: http://linkedin.com/in/senakafernando *Lean . Enterprise . Middleware
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
