Component enhance the functionality of an XMPP server.
Components are JavaBeans and will have their properties exposed as ad-hoc commands.
author: Matt Tucker
initialize(JID jid, ComponentManager componentManager) Initializes this component with a ComponentManager and the JID
that this component is available at (e.g.
Initializes this component with a ComponentManager and the JID
that this component is available at (e.g. service.example.com). If a
ComponentException is thrown then the component will not be loaded.
The initialization code must not rely on receiving packets from the server since
the component has not been fully initialized yet. This means that at this point the
component must not rely on information that is obtained from the server such us
discovered items.
Parameters: jid - the XMPP address that this component is available at. Parameters: componentManager - the component manager. throws: ComponentException - if an error occured while initializing the component.
Notification message indicating that the component will start receiving incoming
packets. At this time the component may finish pending initialization issues that
require information obtained from the server.
It is likely that most of the component will leave this method empty.