I wanted to refresh the injected bean (get a new instance altogether) after a predefined interval of time. Is this possible in Spring configuration.
Or suggest any other alternative way to...
Type: Posts; User: vkas_24; Keyword(s):
I wanted to refresh the injected bean (get a new instance altogether) after a predefined interval of time. Is this possible in Spring configuration.
Or suggest any other alternative way to...
How can we read the advised annotated method argument name and its value in the advice.
@Name("myName") // name of first method param
@Desc("myDesc") // name of the second param
public void...
I am finding a way as how can i use spring validation for the method parameters.
something like this
@NotNull("name" length=50)
@NotNull("desc" length=100)
@NotNull("path")
public MyObject...
Thanx alot Marten for inputs. I has helped me to understand some of the good practices.
But my question still remains. I need to read the password from a file that does not resemble properties...
I am puzzling to find the ways, as how to set the database password programmatically. One of our requirement is to read password from a file. and we do have the api to read it but i am not aware of...
I am trying to deploy "spring-osgi-1.2.0\src\samples\simple-web-app\" in the felix-1.4.1 container. No exception as such while installing and starting the bundles. but i am only able to see the
...
Thanks alot henry and Leau, for the help.
I have just started it afresh and followed the instructions.
Equinox set up is up and working now. :)
I am now trying with Felix and some web...
Hi Henry,
Can you pls let me know which all jars are you using for ur OSGi containers. Or just tell abt from should i download the jars for spring DM. currently i am using jars from the...
hi Henry,
I have set start level to 5. But i am still getting the same exception trace :(
I found it. The start level for the extender bundle is 4. Do i need to set to 0. ??
Oops :confused:.. its a little awkward to ask. But i am really wondering where should i look for start level to know the start level of a bundle.
Hope this time someone will help me, I am finding it hard to make my osgi environment up. pls find below the exception trace when i am saying "start for spring-osgi-extender-1.2.0.jar" . Can any one...
I am trying to run Spring DM web jars in the Felix container. But when trying to start spring-osgi-web-extender I am getting the following error.
org.osgi.framework.BundleException: Activator...