How do I create my own resource bundle for doing plug-ins
I'm doing a validation-handler through plugin on 11g release 2. I've created a custom message and throw a UserManagerUtils.createValidationFailedException(CUSTOM_MSG_KEY) whenever a validation error occurs. I've put the custom message in the oimserver.ear file.
I finally realized that I should have not done that because as soon as an upgrade is done on the oimserver.ear file then I would have lost my custom resource bundle entries.
So, how do I create a custom resource bundle that I could use with plug-in (validation-handler, action-handler, etc...) work and how do I "register" it so that when I throw the ...createValidationFailedException that it recognizes the CUSTOM_MSG_KEY.
I finally realized that I should have not done that because as soon as an upgrade is done on the oimserver.ear file then I would have lost my custom resource bundle entries.
So, how do I create a custom resource bundle that I could use with plug-in (validation-handler, action-handler, etc...) work and how do I "register" it so that when I throw the ...createValidationFailedException that it recognizes the CUSTOM_MSG_KEY.
0