I use iPOJO and configuration admin. When certain configuration properties
change, I want to "restart" my iPOJO instance. I e I want the instance to
become invalid and then valid again. Currently I do some initialisation on
the method marked as @Validate and some cleanup in the method marked
as @Invalidate.

It's very tricky to get this to work. When I start my application it seems
like both the @Validate and the @Updated methods are called which causes
problems. What is the recommended way to accomplish this?

Ideally I would like to mark my iPOJO properties as requiring the instance
to "restart", e g

*  @Property(name = "rootUrl", restart = "true")*

*  private String mRootUrl;*


/Bengt

Reply via email to