Richfaces Examples: Richfaces Showcase Application 4.1.0.20110805-M1

org.richfaces.demo.push.provider
Class AS6MessagingProviderManagement

java.lang.Object
  extended by org.richfaces.demo.push.provider.AS6MessagingProviderManagement
All Implemented Interfaces:
MessagingProviderManagement

public class AS6MessagingProviderManagement
extends Object
implements MessagingProviderManagement

Connects to JMS RMI interface and creates topics using JMSServerControl.

Author:
Lukas Fryc

Constructor Summary
AS6MessagingProviderManagement()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AS6MessagingProviderManagement

public AS6MessagingProviderManagement()
Method Detail

initializeProvider

public void initializeProvider()
                        throws InitializationFailedException
Description copied from interface: MessagingProviderManagement
Initializes messaging management, called at application startup.

Specified by:
initializeProvider in interface MessagingProviderManagement
Throws:
InitializationFailedException - when initialize of provider fails

finalizeProvider

public void finalizeProvider()
Description copied from interface: MessagingProviderManagement
Finalizes messaging provider management at on application tear down.

Specified by:
finalizeProvider in interface MessagingProviderManagement

createTopic

public void createTopic(String topicName,
                        String jndiName)
                 throws Exception
Description copied from interface: MessagingProviderManagement
Creates JMS topic using this provider

Specified by:
createTopic in interface MessagingProviderManagement
Parameters:
topicName - the name of the topic
jndiName - the JNDI binding to use for given topic
Throws:
Exception - when creating of topic fails

Richfaces Examples: Richfaces Showcase Application 4.1.0.20110805-M1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.