Package ceylon.modules.jboss.runtime

Source Code of ceylon.modules.jboss.runtime.JBossRuntime

/*
* Copyright 2011 Red Hat inc. and third party contributors as noted
* by the author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
*     http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

package ceylon.modules.jboss.runtime;

import ceylon.modules.Configuration;
import com.redhat.ceylon.cmr.api.RepositoryManager;
import org.jboss.modules.ModuleLoader;

/**
* Default Ceylon Modules runtime.
*
* @author <a href="mailto:ales.justin@jboss.org">Ales Justin</a>
*/
public class JBossRuntime extends AbstractJBossRuntime {
    protected ModuleLoader createModuleLoader(Configuration conf) throws Exception {
        RepositoryManager repository = createRepository(conf);
        return new CeylonModuleLoader(repository);
    }
}
TOP

Related Classes of ceylon.modules.jboss.runtime.JBossRuntime

TOP
Copyright © 2018 www.massapi.com. 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.