@Contract public interface XmlHk2ConfigurationBean
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
_getBeanLikeMap()
Returns a read-only copy of the
bean-like map corresponding to the current
state of this bean
|
XmlHk2BeanType |
_getBeanType()
Returns the type of this bean.
XmlHk2BeanType.NORMAL - A bean created via add or by Xml parsing
XmlHk2BeanType.DEFAULT_CHILD - A pseudo bean here due to a
org.glassfish.hk2.xml.api.annotation.DefaultChild annotation in the parent
|
String |
_getInstanceName()
Returns the instance path/name for this object
|
String |
_getKeyPropertyName()
Returns the name of the property that
returns the key for this bean, or
null if this bean does not have a key
property
|
String |
_getKeyValue()
Returns the key value for this object
|
Object |
_getParent()
Returns the parent of this bean, or null if this
object is the root of the true
|
String |
_getXmlPath()
Returns the XmlPath for this object
|
void |
_normalizeBean()
If this bean has
XmlHk2BeanType.DEFAULT_CHILD type then this method
will change the type to XmlHk2BeanType.NORMAL . |
Map<String,Object> _getBeanLikeMap()
Object _getParent()
String _getXmlPath()
String _getInstanceName()
String _getKeyPropertyName()
String _getKeyValue()
XmlHk2BeanType _getBeanType()
XmlHk2BeanType.NORMAL
- A bean created via add or by Xml parsingXmlHk2BeanType.DEFAULT_CHILD
- A pseudo bean here due to a
org.glassfish.hk2.xml.api.annotation.DefaultChild
annotation in the parentvoid _normalizeBean()
XmlHk2BeanType.DEFAULT_CHILD
type then this method
will change the type to XmlHk2BeanType.NORMAL
. No fields of the
bean will be changed and there will be no transaction in the configuration Hub
if the bean is registered in the hubCopyright © 2009–2016 Oracle Corporation. All rights reserved.