Package | Description |
---|---|
com.pushtechnology.diffusion.api.publisher |
Diffusion Internal Publisher API.
|
Modifier and Type | Method and Description |
---|---|
static <T extends Publisher> |
Publishers.getPublisherByName(String name)
Returns a Publisher given its name.
|
Modifier and Type | Method and Description |
---|---|
static Publisher |
Publishers.createPublisher(String name)
Convenience method to create a default Publisher and register it with
Diffusion
Equivalent of creating a PublisherConfig instance with
ServerConfig.addPublisher(String, String) and passing to
Publishers.loadPublisher(PublisherConfig) . |
static Publisher |
Publishers.createPublisher(String name,
Class<? extends Publisher> instanceClass)
Convenience method to create a Publisher from a given Class and register
it with Diffusion
Equivalent of creating a PublisherConfig instance with
ServerConfig.addPublisher(String, String) and passing to
Publishers.loadPublisher(PublisherConfig) . |
static Publisher |
Publishers.createPublisher(String name,
String classname)
Convenience method to create a Publisher from a given classname and
register it with Diffusion
Equivalent of creating a PublisherConfig instance with
ServerConfig.addPublisher(String, String) and passing to
Publishers.loadPublisher(PublisherConfig) . |
static Publisher |
Publishers.getPublisherForTopic(String topicName)
Returns the Publisher for a named Topic.
|
static Publisher |
Publishers.getPublisherForTopic(Topic topic)
Returns the Publisher for a given topic.
|
static Publisher |
Publishers.loadPublisher(PublisherConfig config)
Loads a Publisher from a given
PublisherConfig . |
Modifier and Type | Method and Description |
---|---|
static List<Publisher> |
Publishers.getPublishers()
Returns a list of all of the currently active Publishers.
|
Modifier and Type | Method and Description |
---|---|
static Publisher |
Publishers.createPublisher(String name,
Class<? extends Publisher> instanceClass)
Convenience method to create a Publisher from a given Class and register
it with Diffusion
Equivalent of creating a PublisherConfig instance with
ServerConfig.addPublisher(String, String) and passing to
Publishers.loadPublisher(PublisherConfig) . |
Copyright © 2016 Push Technology Ltd. All Rights Reserved.