Package | Description |
---|---|
org.jvnet.hk2.config | |
org.jvnet.hk2.config.api |
Modifier and Type | Method and Description |
---|---|
ConfigBean |
ConfigBean.allocate(Class<?> type)
Allocate a new ConfigBean object as part of the Transaction
associated with this configuration object.
|
ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
List<AttributeChanges> attributes) |
static ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
List<AttributeChanges> attributes,
TransactionCallBack<WriteableView> runnable)
Creates a new child of the passed child and add it to the parent's live
list of elements.
|
static ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
Map<String,String> attributes)
Creates a new child of the passed child and add it to the parent's live
list of elements.
|
static ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
Map<String,String> attributes,
TransactionCallBack<WriteableView> runnable)
Creates a new child of the passed child and add it to the parent's live
list of elements.
|
ConfigBean |
ConfigBean.getMasterView()
We are the master view.
|
ConfigBean |
WriteableView.getMasterView() |
ConfigBean |
ConfigBean.parent() |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigSupport._deleteChild(ConfigBean parent,
WriteableView writeableParent,
ConfigBean child)
Unprotected child deletion, caller must start a transaction before calling this
method.
|
Object |
ConfigSupport.addChildWithAttributes(ConfigBeanProxy param,
ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
List<AttributeChanges> attributes,
TransactionCallBack<WriteableView> runnable) |
ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
List<AttributeChanges> attributes) |
static ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
List<AttributeChanges> attributes,
TransactionCallBack<WriteableView> runnable)
Creates a new child of the passed child and add it to the parent's live
list of elements.
|
static ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
Map<String,String> attributes)
Creates a new child of the passed child and add it to the parent's live
list of elements.
|
static ConfigBean |
ConfigSupport.createAndSet(ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
Map<String,String> attributes,
TransactionCallBack<WriteableView> runnable)
Creates a new child of the passed child and add it to the parent's live
list of elements.
|
static void |
ConfigSupport.deleteChild(ConfigBean parent,
ConfigBean child) |
String[] |
ConfigSupport.getAttributesNames(ConfigBean bean)
Returns the list of attributes names by the passed ConfigBean
|
String[] |
ConfigSupport.getElementsNames(ConfigBean bean)
Returns the list of elements names by the passed ConfigBean
|
static Class<?>[] |
ConfigSupport.getSubElementsTypes(ConfigBean bean)
Returns the list of sub-elements supported by a ConfigBean
|
void |
OnDeleteCascade.readValue(ConfigBean source,
String xmlName,
Object value) |
void |
ConfigBeanInterceptor.readValue(ConfigBean source,
String xmlName,
Object value)
Notification of an attribute read
|
Modifier and Type | Method and Description |
---|---|
void |
ConfigSupport.apply(Map<ConfigBean,Map<String,String>> mapOfChanges) |
Constructor and Description |
---|
ConfigBean(ServiceLocator habitat,
DomDocument document,
ConfigBean parent,
ConfigModel model,
XMLStreamReader in) |
Modifier and Type | Method and Description |
---|---|
Object |
ConfigurationUtilities.addChildWithAttributes(ConfigBeanProxy param,
ConfigBean parent,
Class<? extends ConfigBeanProxy> childType,
List<AttributeChanges> attributes,
TransactionCallBack<WriteableView> runnable)
Adds this child bean to the parent with the given attributes.
|
Copyright © 2009–2017 Oracle Corporation. All rights reserved.