aliases, dependsOn, jndi, postConstruct, preDestroy
className, classpath, classpathAPI, constructor, factoryName, id, jar, properties, provider, type
Constructor and Description |
---|
TopicBuilder() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDestination() |
java.util.Properties |
getProperties()
Gets the value of the properties property.
|
TopicBuilder |
id(java.lang.String id) |
void |
setDestination(java.lang.String destination) |
TopicBuilder |
withDestination(java.lang.String destination) |
equals, getAliases, getDependsOn, getJndi, getPostConstruct, getPreDestroy, hashCode, setJndi, setPostConstruct, setPreDestroy
getClassName, getClasspath, getClasspathAPI, getConstructor, getFactoryName, getId, getJar, getPropertiesProvider, getProvider, getTemplate, getType, setClassName, setClasspath, setClasspathAPI, setConstructor, setFactoryName, setId, setJar, setPropertiesProvider, setProvider, setTemplate, setType
public TopicBuilder id(java.lang.String id)
public TopicBuilder withDestination(java.lang.String destination)
public void setDestination(java.lang.String destination)
public java.lang.String getDestination()
public java.util.Properties getProperties()
AbstractService
set
method for the properties property.
For example, to add a new value, do as follows:
getProperties().setProperty(key, value);
getProperties
in interface Service
getProperties
in class AbstractService