当前页面:
在线文档首页 >
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
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONTEXT_USER_TOKENS
public static final String CONTEXT_USER_TOKENS
- See Also:
- Constant Field Values
SubscriptionRegistry
public SubscriptionRegistry()
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)