-
Feb 16th, 2008, 12:34 PM
#1
Runtime JVM to JVM - Property Injection
Hi,
Is there a way to inject a Property value to a Singleton bean instantiated in one JVM from another JVM?
To be more specific, I'm looking for something like this:
- I will have a web application running which uses Springframework
- I will create a property reference which will hold a boolean value to a singleton bean
- Now I want to write a standalone program which can toggle the property on/off whenever I execute it commandline on the same box where my AppServer is running. As I'm intended to modify a singleton bean, I believe it should be possible to set it back to the ApplicationContext.
Seems like I'm asking for too much. But it'll be of huge time saver for me in our application.
Thanks,
Seshendra Nalla.
-
Feb 16th, 2008, 01:19 PM
#2
did you check jmx? for me it sounds like this is what you want to use
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules