wt.inf.template.containercopy
Class FileBasedCopyRegistry
java.lang.Object
wt.inf.template.containercopy.FileBasedCopyRegistry
- public class FileBasedCopyRegistry
- extends Object
Supported API: false
Extendable: false
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE
private static final String RESOURCE
- See Also:
- Constant Field Values
CLASSNAME
private static final String CLASSNAME
loadDir
private static final File loadDir
orderMap
private Map orderMap
registryMap
private Map registryMap
TMPL_RB
private static final String TMPL_RB
initLock
private static final Object initLock
isInited
private boolean isInited
FileBasedCopyRegistry
public FileBasedCopyRegistry()
throws WTException
Supported API: false
- Throws:
WTException
getCopyHandler
public ContainerCopyHandler getCopyHandler(Class containerClass,
String handlerKey,
String scriptIdentifier)
throws WTException
Supported API: false
- Parameters:
containerClass
- handlerKey
- scriptIdentifier
-
- Returns:
- ContainerCopyHandler
- Throws:
WTException
initialize
public void initialize()
throws WTException
Supported API: false
- Throws:
WTException
massageToDoList
public List massageToDoList(Class contClass,
String scriptId,
List toDoList)
throws WTException
- Internal method used to repair a broken todolist. (It is defined in
broken if the ToDoList is in a different order than the XML registry
Supported API: false
- Parameters:
contClass
- scriptId
- toDoList
-
- Returns:
- List
- Throws:
WTException
updateRegistry
private void updateRegistry(IxbDocument doc)
throws WTException
- Throws:
WTException
validateItemHandler
private Class validateItemHandler(String itemHandler)
throws WTException
- Throws:
WTException
validateContainerClassAttribute
private Class validateContainerClassAttribute(String className)
throws WTException
- Throws:
WTException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception