|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.sape.carbon.services.config.jndi.JNDILinkNodeFactory
Factory used to create links to nodes on a JNDI directory. Copyright 2003 Sapient
Field Summary | |
private org.apache.commons.logging.Log |
log
|
Constructor Summary | |
JNDILinkNodeFactory()
|
Method Summary | |
protected NodeFactory |
getConfigurationDocumentFactory(JNDILinkNodeConfiguration config)
Gets the factory used within this package to create configuration documents |
LinkNode |
getInstance(Node parent,
String name,
ConfigurationDocument linkConfigurationDoc)
Constructs a LinkNode . |
protected NodeFactory |
getLinkNodeFactory(JNDILinkNodeConfiguration config)
Gets the factory used within this package to create links |
protected NodeFactory |
getSubFolderFactory(JNDILinkNodeConfiguration config)
Gets the factory used within this package to create folders |
private void |
validateConfig(JNDILinkNodeConfiguration config)
Validates that config has all required properties. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private org.apache.commons.logging.Log log
Constructor Detail |
public JNDILinkNodeFactory()
Method Detail |
public LinkNode getInstance(Node parent, String name, ConfigurationDocument linkConfigurationDoc) throws NodeCreationException
LinkNodeFactory
LinkNode
.
getInstance
in interface LinkNodeFactory
parent
- the parent Folder
of the
LinkNode
. Can be null only if the LinkNode
is the root Node
for the ConfigurationService
name
- the name of the LinkNode
. Cannot be null.linkConfigurationDoc
- the ConfigurationDocument
containing the LinkNodeConfiguration
for the new link.
Cannot be null.
NodeCreationException
- if the LinkNode
cannot be
created.protected NodeFactory getSubFolderFactory(JNDILinkNodeConfiguration config)
protected NodeFactory getConfigurationDocumentFactory(JNDILinkNodeConfiguration config)
protected NodeFactory getLinkNodeFactory(JNDILinkNodeConfiguration config)
private void validateConfig(JNDILinkNodeConfiguration config)
config
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |