|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This configuration interface defines properties to that describe how to connect to a JNDI directory that contains a configuration hierachy. In the basic case, only InitialContextFactory, ProviderUrl, and InitialContextName need to be specified. If anonymous access to the directory is not allowed, SecurityPrincipal and SecurityCredentials must also be specified. If other JNDI environment properties are required based on the specific JNDI provider, they can be listed in the Map EnvironmentProperties.
For advanced control of the names of JNDI attributes and the meaning of the values used by the JNDI config service, the values of NodeTypeAttributeName, FolderNodeTypeAttributeValue, DocumentNodeTypeAttributeValue, DocumentTypeAttributeName, LinkDocumentTypeAttributeValue, DocumentDocumentTypeAttributeValue, DocumentContectAttributeName, NodeNameAttributeName, and AttributeNameValueSeparator.
Copyright 2003 Sapient
Field Summary | |
static String |
AttributeNameValueSeparator
Default value for the AttributeNameValueSeparator property |
static String |
DocumentContectAttributeName
Default value for the DocumentContectAttributeName property |
static String |
DocumentDocumentTypeAttributeValue
Default value for the DocumentDocumentTypeAttributeValue property |
static String |
DocumentNodeTypeAttributeValue
Default value for the DocumentNodeTypeAttributeValue property |
static String |
DocumentTypeAttributeName
Default value for the DocumentTypeAttributeName property |
static String |
FolderNodeTypeAttributeValue
Default value for the FolderNodeTypeAttributeValue property |
static String |
LinkDocumentTypeAttributeValue
Default value for the LinkDocumentTypeAttributeValue property |
static String |
NodeNameAttributeName
Default value for the NodeNameAttributeName property |
static String |
NodeTypeAttributeName
Default value for the NodeTypeAttributeName property |
Method Summary | |
String |
getAttributeNameValueSeparator()
Gets the String that the directory uses to separate attributes and their values when they are represented as Strings |
String |
getDocumentContectAttributeName()
Gets the name of the attribute that holds a document's content. |
String |
getDocumentDocumentTypeAttributeValue()
Gets the value of the attribute named by DocumentTypeAttributeName that denotes that a context represents a document. |
String |
getDocumentNodeTypeAttributeValue()
Gets the value of the attribute named by NodeTypeAttributeName that denotes that a context represents a ConfigurationDocument. |
String |
getDocumentTypeAttributeName()
Gets the name of the attribute that determines if a document context is a link or a document. |
String |
getFolderNodeTypeAttributeValue()
Gets the value of the attribute named by NodeTypeAttributeName that denotes that a context represents a Folder. |
InitialContextFactory |
getInitialContextFactory()
Gets the InitialContextFactory used to access the directory |
String |
getLinkDocumentTypeAttributeValue()
Gets the value of the attribute named by DocumentTypeAttributeName that denotes that a context represents a link. |
String |
getNodeNameAttributeName()
Gets the name of the attribute that holds the name of the context. |
String |
getNodeTypeAttributeName()
Gets the name of the attribute that determines if a context is a Folder or a ConfigurationDocument. |
String |
getTargetContextName()
Gets the name of the context that is the target of the link. |
void |
setAttributeNameValueSeparator(String separator)
Gets AttributeNameValueSeparator. |
void |
setDocumentContectAttributeName(String name)
Sets DocumentContectAttributeName. |
void |
setDocumentDocumentTypeAttributeValue(String value)
Sets DocumentDocumentTypeAttributeValue. |
void |
setDocumentNodeTypeAttributeValue(String value)
Sets DocumentNodeTypeAttributeValue. |
void |
setDocumentTypeAttributeName(String name)
Sets DocumentTypeAttributeName. |
void |
setFolderNodeTypeAttributeValue(String value)
Sets FolderNodeTypeAttributeValue. |
void |
setInitialContextFactory(InitialContextFactory factory)
Sets the InitialContextFactory used to access the directory |
void |
setLinkDocumentTypeAttributeValue(String value)
Sets LinkDocumentTypeAttributeValue. |
void |
setNodeNameAttributeName(String name)
Sets NodeNameAttributeName. |
void |
setNodeTypeAttributeName(String name)
Sets NodeTypeAttributeName. |
void |
setTargetContextName(String name)
Sets the name of the context that is the target of the link. |
Methods inherited from interface org.sape.carbon.core.config.node.link.LinkNodeConfiguration |
getLinkNodeFactoryClass, setLinkNodeFactoryClass |
Methods inherited from interface org.sape.carbon.core.config.Configuration |
clone, getConfigurationInterface, getConfigurationName, getDataStructure, getRootElement, isConfigurationWritable, setConfigurationName, setConfigurationReadOnly |
Field Detail |
public static final String NodeTypeAttributeName
public static final String FolderNodeTypeAttributeValue
public static final String DocumentNodeTypeAttributeValue
public static final String DocumentTypeAttributeName
public static final String LinkDocumentTypeAttributeValue
public static final String DocumentDocumentTypeAttributeValue
public static final String DocumentContectAttributeName
public static final String NodeNameAttributeName
public static final String AttributeNameValueSeparator
Method Detail |
public InitialContextFactory getInitialContextFactory()
public void setInitialContextFactory(InitialContextFactory factory)
public String getTargetContextName()
public void setTargetContextName(String name)
name
- public String getNodeTypeAttributeName()
public void setNodeTypeAttributeName(String name)
name
- getNodeTypeAttributeName()
public String getFolderNodeTypeAttributeValue()
public void setFolderNodeTypeAttributeValue(String value)
value
- getFolderNodeTypeAttributeValue()
public String getDocumentNodeTypeAttributeValue()
public void setDocumentNodeTypeAttributeValue(String value)
value
- getDocumentNodeTypeAttributeValue()
public String getDocumentTypeAttributeName()
public void setDocumentTypeAttributeName(String name)
name
- setDocumentTypeAttributeName(java.lang.String)
public String getLinkDocumentTypeAttributeValue()
public void setLinkDocumentTypeAttributeValue(String value)
value
- setLinkDocumentTypeAttributeValue(java.lang.String)
public String getDocumentDocumentTypeAttributeValue()
public void setDocumentDocumentTypeAttributeValue(String value)
value
- setDocumentDocumentTypeAttributeValue(java.lang.String)
public String getDocumentContectAttributeName()
public void setDocumentContectAttributeName(String name)
name
- setDocumentContectAttributeName(java.lang.String)
public String getNodeNameAttributeName()
public void setNodeNameAttributeName(String name)
name
- setNodeNameAttributeName(java.lang.String)
public String getAttributeNameValueSeparator()
public void setAttributeNameValueSeparator(String separator)
separator
- getAttributeNameValueSeparator()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |