mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Made the ThreadPoolExecutorFactory more configurable, but also with more sensible defaults.
- The queue for background jobs is unlimited - A smaller number of core threads is maintained - It is possible to set the threads' priority (default low) Added hasAspect() method to XPath functions. Various other cosmetic changes. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6146 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -559,4 +559,9 @@ public class DocumentNavigator extends DefaultNavigator implements NamedAccessNa
|
||||
QName nodeTypeQName = nodeService.getType(nodeRef);
|
||||
return dictionaryService.isSubClass(nodeTypeQName, typeQName);
|
||||
}
|
||||
|
||||
public Boolean hasAspect(NodeRef nodeRef, QName typeQName)
|
||||
{
|
||||
return nodeService.hasAspect(nodeRef, typeQName);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user