Package | Description |
---|---|
org.glassfish.hk2.xml.internal | |
org.glassfish.hk2.xml.jaxb.internal |
Modifier and Type | Method and Description |
---|---|
static BaseHK2JAXBBean |
Utilities._addRoot(ModelImpl rootNode,
Object rawRoot,
DynamicChangeInfo<?> changeInfo,
ClassReflectionHelper helper,
WriteableBeanDatabase writeableDatabase,
DynamicConfiguration dynamicService,
List<ActiveDescriptor<?>> addedServices,
XmlRootHandleImpl<?> xmlRootHandle)
Called with write lock held
|
static void |
Utilities.applyDiff(Differences differences,
DynamicChangeInfo<?> changeControl)
Must have write lock of source held
|
static <T> BaseHK2JAXBBean |
Utilities.doCopy(BaseHK2JAXBBean copyMe,
DynamicChangeInfo<T> copyController,
BaseHK2JAXBBean theCopiedParent,
XmlRootHandleImpl<?> rootHandle,
Map<org.glassfish.hk2.xml.internal.ReferenceKey,BaseHK2JAXBBean> referenceMap,
List<UnresolvedReference> unresolved) |
static BaseHK2JAXBBean |
Utilities.internalAdd(BaseHK2JAXBBean myParent,
String childPropertyNamespace,
String childProperty,
Object rawChild,
String childKey,
int index,
DynamicChangeInfo<?> changeInformation,
XmlDynamicChange xmlDynamicChange,
List<ActiveDescriptor<?>> addedServices,
boolean changeList) |
static void |
Utilities.internalModifyChild(BaseHK2JAXBBean myParent,
String childPropertyNamespace,
String childProperty,
Object currentValue,
Object newValue,
XmlRootHandleImpl<?> root,
DynamicChangeInfo<?> changeInformation,
XmlDynamicChange xmlDynamicChange) |
static BaseHK2JAXBBean |
Utilities.internalRemove(BaseHK2JAXBBean myParent,
String childPropertyNamespace,
String childProperty,
String childKey,
int index,
Object childToRemove,
DynamicChangeInfo<?> changeInformation,
XmlDynamicChange xmlDynamicChange,
boolean changeList)
Write lock must be held
|
static void |
Utilities.invokeVetoableChangeListeners(DynamicChangeInfo<?> control,
BaseHK2JAXBBean source,
Object oldValue,
Object newValue,
String propertyName,
ClassReflectionHelper helper) |
Constructor and Description |
---|
XmlHandleTransactionImpl(XmlRootHandle<T> root,
DynamicChangeInfo changeInfo) |
Modifier and Type | Method and Description |
---|---|
DynamicChangeInfo<?> |
BaseHK2JAXBBean._getChangeControl()
Gets the change control information for this bean
|
Modifier and Type | Method and Description |
---|---|
void |
BaseHK2JAXBBean._setDynamicChangeInfo(XmlRootHandleImpl<?> root,
DynamicChangeInfo<?> change) |
void |
BaseHK2JAXBBean._setDynamicChangeInfo(XmlRootHandleImpl<?> root,
DynamicChangeInfo<?> change,
boolean doXmlPathCalculation)
Once this is set the dynamic change protocol is in effect,
and all paths can be calculated
|
Copyright © 2009–2023 Oracle Corporation. All rights reserved.