Package org.modeshape.jcr.value.basic

Examples of org.modeshape.jcr.value.basic.SimpleNamespaceRegistry


                                ValueFactory<Object> objectFactory ) {
        assert securityContext != null;
        this.securityContext = securityContext;

        if (binaryStore == null) binaryStore = TransientBinaryStore.get();
        if (namespaceRegistry == null) namespaceRegistry = new ThreadSafeNamespaceRegistry(new SimpleNamespaceRegistry());
        if (threadPoolFactory == null) threadPoolFactory = new ThreadPools();
        if (data == null) data = Collections.<String, String>emptyMap();
        if (processId == null) processId = UUID.randomUUID().toString();
        if (decoder == null) decoder = ValueFactory.DEFAULT_DECODER;
        if (encoder == null) encoder = ValueFactory.DEFAULT_ENCODER;
View Full Code Here


    private final ReadWriteLock namespacesLock = new ReentrantReadWriteLock();
    private final Logger logger = Logger.getLogger(getClass());

    SystemNamespaceRegistry( JcrRepository.RunningState repository ) {
        this.repository = repository;
        this.cache = new SimpleNamespaceRegistry();
        // Pre-load all of the built-in namespaces ...
        this.cache.register(new ExecutionContext().getNamespaceRegistry().getNamespaces());
    }
View Full Code Here

TOP

Related Classes of org.modeshape.jcr.value.basic.SimpleNamespaceRegistry

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.