|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TopicPermissions
A TopicPermission factory. The factory is bound to a specific type (i.e., either PUBLISH or SUBSCRIBE) and subsequently allows to create new permission objects by providing the topic. Note that the created permission objects most likely will be cached and that in case that a permission can not be created due to missing security support by the framework (i.e, security is not supported at all) an instance of java.lang.Object will be returned.
Method Summary | |
---|---|
Object |
createTopicPermission(String topic)
This method returns a TopicPermission object for the given topic and the type (i.e., PUBLISH or SUBSCRIBE) of this factory. |
String |
getType()
Get the type (i.e., PUBLISH or SUBSCRIBE) of the permission objects that this factory will create. |
Method Detail |
---|
String getType()
TopicPermission.PUBLISH
,
TopicPermission.SUBSCRIBE
Object createTopicPermission(String topic)
topic
- The targeted topic.
TopicPermission
,
TopicPermission.PUBLISH
,
TopicPermission.SUBSCRIBE
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |