站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.7 cr1 API 英文版文档

SubscriptionRegistry (JBoss Seam API Documentation) - JBoss Seam 1.1.7 cr1 API 英文版文档


org.jboss.seam.remoting.messaging
Class SubscriptionRegistry

java.lang.Object
  extended by org.jboss.seam.remoting.messaging.SubscriptionRegistry

@Scope(value=APPLICATION)
@Intercept(value=NEVER)
@Name(value="org.jboss.seam.remoting.messaging.subscriptionRegistry")
@Install(value=false,
         precedence=0)
public class SubscriptionRegistry
extends Object

Author:
Shane Bryzak

Field Summary
static String CONTEXT_USER_TOKENS
           
 
Constructor Summary
SubscriptionRegistry()
           
 
Method Summary
 Set<String> getAllowedTopics()
           
 String getConnectionProvider()
           
 RemoteSubscriber getSubscription(String token)
           
 Set getUserTokens()
           
static SubscriptionRegistry instance()
           
 void setAllowedTopics(Set<String> allowedTopics)
           
 void setConnectionProvider(String connectionProvider)
           
 RemoteSubscriber subscribe(String topicName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONTEXT_USER_TOKENS

public static final String CONTEXT_USER_TOKENS
See Also:
Constant Field Values
Constructor Detail

SubscriptionRegistry

public SubscriptionRegistry()
Method Detail

instance

public static SubscriptionRegistry instance()

getAllowedTopics

public Set<String> getAllowedTopics()

setAllowedTopics

public void setAllowedTopics(Set<String> allowedTopics)

getConnectionProvider

public String getConnectionProvider()

setConnectionProvider

public void setConnectionProvider(String connectionProvider)

subscribe

public RemoteSubscriber subscribe(String topicName)

getUserTokens

public Set getUserTokens()
Returns:
Set

getSubscription

public RemoteSubscriber getSubscription(String token)