public class AdminObjects<T extends AdminObjects<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AdminObjects.AdminObjectsResources
Child mutators for AdminObjects
|
Constructor and Description |
---|
AdminObjects(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
String |
className()
Specifies the fully qualified class name of an administration object.
|
T |
className(String value)
Specifies the fully qualified class name of an administration object.
|
T |
configProperties(ConfigProperties value)
Add the ConfigProperties object to the list of subresources
|
T |
configProperties(ConfigPropertiesSupplier supplier)
Install a supplied ConfigProperties object to the list of subresources
|
T |
configProperties(List<ConfigProperties> value)
Add all ConfigProperties objects to this subresource
|
T |
configProperties(String childKey)
Create and configure a ConfigProperties object to the list of
subresources
|
T |
configProperties(String childKey,
ConfigPropertiesConsumer consumer)
Create and configure a ConfigProperties object to the list of
subresources
|
Boolean |
enabled()
Specifies if the administration object should be enabled.
|
T |
enabled(Boolean value)
Specifies if the administration object should be enabled.
|
String |
getKey() |
String |
jndiName()
Specifies the JNDI name for the administration object.
|
T |
jndiName(String value)
Specifies the JNDI name for the administration object.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
AdminObjects.AdminObjectsResources |
subresources() |
Boolean |
useJavaContext()
Setting this to false will bind the object into global JNDI.
|
T |
useJavaContext(Boolean value)
Setting this to false will bind the object into global JNDI.
|
public AdminObjects(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public AdminObjects.AdminObjectsResources subresources()
public T configProperties(List<ConfigProperties> value)
value
- List of ConfigProperties objects.public T configProperties(ConfigProperties value)
value
- The ConfigProperties to addpublic T configProperties(String childKey, ConfigPropertiesConsumer consumer)
key
- The key for the ConfigProperties resourceconfig
- The ConfigPropertiesConsumer to usepublic T configProperties(String childKey)
key
- The key for the ConfigProperties resourcepublic T configProperties(ConfigPropertiesSupplier supplier)
public String className()
public T className(String value)
public Boolean enabled()
public String jndiName()
public Boolean useJavaContext()
Copyright © 2019 JBoss by Red Hat. All rights reserved.