Package org.apache.jackrabbit.oak.plugins.name

Examples of org.apache.jackrabbit.oak.plugins.name.NamespaceRegistryImpl


    private final Map<String, NodeType> typemap = new HashMap<String, NodeType>();

    public NodeTypeManagerImpl(SessionDelegate sd) throws RepositoryException {
        this.vf = sd.getValueFactory();
        this.mapper = sd.getNamePathMapper();
        this.nsregistry = new NamespaceRegistryImpl(sd.getContentSession());

        try {
            InputStream stream = NodeTypeManagerImpl.class.getResourceAsStream("builtin_nodetypes.cnd");
            Reader reader = new InputStreamReader(stream, "UTF-8");
            try {
View Full Code Here


        return queryManager;
    }

    @Override
    public NamespaceRegistry getNamespaceRegistry() {
        return new NamespaceRegistryImpl(sessionDelegate.getContentSession()) {
            @Override
            protected void refresh() throws RepositoryException {
                getSession().refresh(true);
            }
        };
View Full Code Here

        return queryManager;
    }

    @Override
    public NamespaceRegistry getNamespaceRegistry() {
        return new NamespaceRegistryImpl(sessionDelegate.getContentSession()) {
            @Override
            protected void refresh() throws RepositoryException {
                getSession().refresh(true);
            }
        };
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.oak.plugins.name.NamespaceRegistryImpl

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.