Skip navigation
3593 Views 8 Replies Latest reply: Jan 13, 2010 2:29 AM by Guenther Niess RSS
sdub Bronze 3 posts since
Jan 12, 2010
Currently Being Moderated

Jan 12, 2010 11:29 AM

Why is AbstractComponent.initialize() final?

Why was the AbstractComponent.initialize() method marked final?

 

Prior to 1.2.1, I was overriding it to get to the JID that was being passed in so that I could parse out the domain as set by the server I was connecting to.  There may be a better way to get this, but I haven't found it yet

 

Currently, my component has different domains on each developer's environment and getting the domain value at runtime from the JID passed into initialize() was a convenient solution.    Is there another way to do this that I'm missing?

 

Thanks.

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points