- Seam 2 - CVS State - ResourceBundle Refactoring -- > 2007-07-15 - By maku01
Back Hi,
I noticed that, in the newest CVS state, several refactorings took place. (before, I worked with Seam 2 Beta and my approach worked)
I've a customized ResourceBundle implementation which loads the data from a DB.
@(protected)("org.jboss.seam.core.resourceBundle") | @(protected)(ScopeType.APPLICATION) | @(protected)(precedence = APPLICATION) | public class ResourceBundle { | private ExtendedResourceBundle extendedResourceBundle=new ExtendedResourceBundle(); | @(protected) | public java.util.ResourceBundle getResourceBundle() { | return extendedResourceBundle; | } | } |
and
public class ExtendedResourceBundle extends SeamResourceBundle { | | @(protected) | protected Object handleGetObject(String key) { | .... | } | | } |
According to the log it seems that the component is loaded:
15:16:05,680 INFO [Component] Component: org.jboss.seam.core.resourceBundle, scope: APPLICATION, type: JAVA_BEAN, class: at.hcare.common.ResourceBundle
But any access to a resource is handled by the default class: org.jboss.seam .core.SeamResourceBundle
Could anybody give me a hint what I've to do?
TIA
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4064306#4064306
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4064306 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|