RichFaces Showcase 4.3.1.Final

org.richfaces.demo.push.provider
Interface MessagingProviderManagement

All Known Implementing Classes:
AS6MessagingProviderManagement, AS7MessagingProviderManagement, CustomMessagingServerManagement

public interface MessagingProviderManagement

Interface for management of messaging provider. Is able to initialize, createTopic and finalize.

Author:
Lukas Fryc

Method Summary
 void createTopic(String topicName, String jndiName)
          Creates JMS topic using this provider
 void finalizeProvider()
          Finalizes messaging provider management at on application tear down.
 void initializeProvider()
          Initializes messaging management, called at application startup.
 

Method Detail

initializeProvider

void initializeProvider()
                        throws InitializationFailedException
Initializes messaging management, called at application startup.

Throws:
InitializationFailedException - when initialize of provider fails

createTopic

void createTopic(String topicName,
                 String jndiName)
                 throws Exception
Creates JMS topic using this provider

Parameters:
topicName - the name of the topic
jndiName - the JNDI binding to use for given topic
Throws:
Exception - when creating of topic fails

finalizeProvider

void finalizeProvider()
Finalizes messaging provider management at on application tear down.


RichFaces Showcase 4.3.1.Final

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.