public class AdfShareUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static ReferenceListType |
createReferenceListType(org.w3c.dom.Document doc) |
static ADFConnectionCredentialInfo[] |
decode(java.lang.String usernameAttrInfoString,
java.lang.String passwordAttrInfoString)
Creates ADFConnectionCredentialInfo array from encoded metadataRefAddr
content strings for username and password attributes metadata
|
static java.lang.String |
encodePasswordAttrsInfo(ADFConnectionCredentialInfo[] connCredInfos)
Converts ADFConnectionCredentialInfo array into "," separated string
|
static java.lang.String |
encodeUserNameAttrsInfo(ADFConnectionCredentialInfo[] connCredInfos)
Converts ADFConnectionCredentialInfo array into "," separated string
|
static java.lang.String |
export(org.w3c.dom.Document doc) |
static java.lang.String |
exportWithResolvedExpressions(java.net.URL adfConfigUrl,
java.lang.String ctxName,
java.util.Hashtable env)
Export connections.xml with resolved ELs
|
static java.lang.String |
getDocumentAsString(org.w3c.dom.Node document) |
static java.lang.String[] |
getDomainConfigAttributes(java.lang.String mbeanConnectionType) |
static java.util.Map |
getSensorTable(int flags)
Deprecated.
|
static java.lang.String |
getUpgradeHandlerClassName(java.lang.String mbeanConnectionType) |
static boolean |
isConnectionAttributeSecure(javax.naming.Reference ref,
java.lang.String attrName) |
static java.lang.String |
runtimeExportEithELsResolved(org.w3c.dom.Document connDoc,
java.lang.String connpath) |
static java.lang.String |
runtimeExportWithELsResolvedNoValidate(org.w3c.dom.Document doc) |
public static java.lang.String encodeUserNameAttrsInfo(ADFConnectionCredentialInfo[] connCredInfos)
connCredInfos - ADFConnectionCredentialInfo arraypublic static java.lang.String encodePasswordAttrsInfo(ADFConnectionCredentialInfo[] connCredInfos)
connCredInfos - ADFConnectionCredentialInfo arraypublic static ADFConnectionCredentialInfo[] decode(java.lang.String usernameAttrInfoString, java.lang.String passwordAttrInfoString)
usernameAttrInfoString - - Username attributes list,
e.g. "usernameAttr1,usernameAttr2,*"passwordAttrInfoString - - Username attributes list,
e.g. "passwordAttr1,passwordAttr2,*"public static boolean isConnectionAttributeSecure(javax.naming.Reference ref,
java.lang.String attrName)
ref - Connection ReferenceattrName - Connection attribute name@Concealed public static java.lang.String[] getDomainConfigAttributes(java.lang.String mbeanConnectionType)
@Concealed public static final java.lang.String getUpgradeHandlerClassName(java.lang.String mbeanConnectionType)
public static java.lang.String exportWithResolvedExpressions(java.net.URL adfConfigUrl,
java.lang.String ctxName,
java.util.Hashtable env)
throws java.lang.Exception
adfConfigUrl - - url of adf-config.xml that must contain mds
configuration to point to adf-domain-config.xml
metadata pathctxName - - name string to create NamedADFContext using
adf-config.xmlenv - - properties to initialize connections context,
should have Context.PROVIDER_URL to indicate
connections.xml pathjava.lang.Exception@Concealed
public static java.lang.String runtimeExportEithELsResolved(org.w3c.dom.Document connDoc,
java.lang.String connpath)
throws java.lang.Exception
java.lang.Exception@Concealed public static java.lang.String runtimeExportWithELsResolvedNoValidate(org.w3c.dom.Document doc)
@Concealed
public static java.lang.String export(org.w3c.dom.Document doc)
throws java.lang.Exception
java.lang.Exception@Concealed public static ReferenceListType createReferenceListType(org.w3c.dom.Document doc)
@Concealed public static java.lang.String getDocumentAsString(org.w3c.dom.Node document)
@Concealed public static java.util.Map getSensorTable(int flags)
SensorTable