Package org.fcrepo.oai

Examples of org.fcrepo.oai.OAIResponder


    private OAIResponder m_responder;

    @Override
    public OAIResponder getResponder() throws RepositoryException {
        if (m_responder == null) {
            m_responder = new OAIResponder(new SampleOAIProvider(),null);
        }
        return m_responder;
    }
View Full Code Here


            try {
                OAIProvider provider = m_server
                        .getBean("org.fcrepo.oai.OAIProvider", OAIProvider.class);
                Authorization authz = m_server
                        .getBean("org.fcrepo.server.security.Authorization", Authorization.class);
                m_responder = new OAIResponder(provider, authz);
            } catch (Exception e) {
                throw new RepositoryException(e.getClass().getName() + ": "
                        + e.getMessage());
            }
        }
View Full Code Here

TOP

Related Classes of org.fcrepo.oai.OAIResponder

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.