Einige kleinere Änderungen um das Analysieren von Fehlern insbesondere beim Ausführen der CLI-Wartungsprogramme zu unterstützen
git-svn-id: https://svn.libreccm.org/ccm/trunk@2415 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
8a8a61ca29
commit
f1ce906d1e
|
|
@ -114,7 +114,11 @@ public abstract class DomainObjectTraversal {
|
|||
public static void registerAdapter(final String type,
|
||||
final DomainObjectTraversalAdapter adapter,
|
||||
final String context) {
|
||||
registerAdapter(SessionManager.getMetadataRoot().getObjectType(type),
|
||||
final ObjectType objectType = SessionManager.getMetadataRoot().getObjectType(type);
|
||||
if (objectType == null) {
|
||||
throw new IllegalArgumentException(String.format("Can't find object type '%s'", type));
|
||||
}
|
||||
registerAdapter(objectType,
|
||||
adapter,
|
||||
context);
|
||||
}
|
||||
|
|
@ -127,7 +131,11 @@ public abstract class DomainObjectTraversal {
|
|||
*/
|
||||
public static void unregisterAdapter(final String type,
|
||||
final String context) {
|
||||
unregisterAdapter(SessionManager.getMetadataRoot().getObjectType(type),
|
||||
final ObjectType objectType = SessionManager.getMetadataRoot().getObjectType(type);
|
||||
if (objectType == null) {
|
||||
throw new IllegalArgumentException(String.format("Can't find object type '%s'", type));
|
||||
}
|
||||
unregisterAdapter(objectType,
|
||||
context);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -33,7 +33,7 @@ log4j.logger.com.arsdigita.web.CCMApplicationContextListener=INFO
|
|||
|
||||
# For seeing progress of main runtime initialization process
|
||||
log4j.logger.com.arsdigita.runtime.CCMResourceManager=INFO
|
||||
#log4j.logger.com.arsdigita.runtime.Runtime=INFO
|
||||
log4j.logger.com.arsdigita.runtime.Runtime=INFO
|
||||
|
||||
log4j.logger.com.arsdigita.bundle.Loader=INFO
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue