@Address(value="/subsystem=cassandradriver") @Implicit public class Cassandradriver<T extends Cassandradriver<T>> extends Object implements org.wildfly.swarm.config.runtime.Keyed
| Modifier and Type | Class and Description |
|---|---|
static class |
Cassandradriver.CassandradriverResources
Child mutators for Cassandradriver
|
| Constructor and Description |
|---|
Cassandradriver() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
cassandra(Cassandra value)
Add the Cassandra object to the list of subresources
|
T |
cassandra(CassandraSupplier supplier)
Install a supplied Cassandra object to the list of subresources
|
T |
cassandra(String childKey)
Create and configure a Cassandra object to the list of subresources
|
T |
cassandra(String childKey,
CassandraConsumer consumer)
Create and configure a Cassandra object to the list of subresources
|
T |
cassandras(List<Cassandra> value)
Add all Cassandra objects to this subresource
|
String |
getKey() |
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Cassandradriver.CassandradriverResources |
subresources() |
public String getKey()
getKey in interface org.wildfly.swarm.config.runtime.Keyedpublic void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Cassandradriver.CassandradriverResources subresources()
public T cassandras(List<Cassandra> value)
value - List of Cassandra objects.public T cassandra(Cassandra value)
value - The Cassandra to addpublic T cassandra(String childKey, CassandraConsumer consumer)
key - The key for the Cassandra resourceconfig - The CassandraConsumer to usepublic T cassandra(String childKey)
key - The key for the Cassandra resourcepublic T cassandra(CassandraSupplier supplier)
Copyright © 2019 JBoss by Red Hat. All rights reserved.