* Inserts the handlers for the pubsub namespace into the HandlerDictionary.
* @param dictionary the list to which the handlers should be appended.
*/
private void addPubsubHandlers(ComponentStanzaProcessor dictionary) {
ArrayList<StanzaHandler> pubsubHandlers = new ArrayList<StanzaHandler>();
pubsubHandlers.add(new PubSubSubscribeHandler(serviceConfiguration));
pubsubHandlers.add(new PubSubUnsubscribeHandler(serviceConfiguration));
pubsubHandlers.add(new PubSubPublishHandler(serviceConfiguration));
pubsubHandlers.add(new PubSubCreateNodeHandler(serviceConfiguration));
pubsubHandlers.add(new PubSubRetrieveSubscriptionsHandler(serviceConfiguration));
pubsubHandlers.add(new PubSubRetrieveAffiliationsHandler(serviceConfiguration));