From: mholzner <do-...@jb...> - 2005-11-01 19:21:02
|
and one more thing that I noticed: the constructor of the JBossPolicyConfigurationFactory does the following check: | Policy p = Policy.getPolicy(); | if( (p instanceof DelegatingPolicy) == false ) | { | // Assume that the installed policy delegates to the DelegatingPolicy | p = DelegatingPolicy.getInstance(); | } | policy = (DelegatingPolicy) p; | If the installed Policy is infact an instance of the DelegatingPolicy, then what gets returned from the Policy.getPolicy() is never a DelegatingPolicy instance, but rather a DelegatingPolicy$PolicyProxy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904703#3904703 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904703 |