All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.fabric3.runtime.standalone.StandaloneHostInfo Maven / Gradle / Ivy

/*
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you 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 org.fabric3.runtime.standalone;

import java.io.File;
import java.net.URI;

import org.fabric3.host.runtime.HostInfo;

/**
 * @version $Rev: 767 $ $Date: 2007-08-18 20:29:28 +0100 (Sat, 18 Aug 2007) $
 */
public interface StandaloneHostInfo extends HostInfo {

    URI STANDALONE_COMPONENT_URI = URI.create("sca://StandaloneHostInfo");

    /**
     * Return the directory where the standalone distribution was installed.
     *
     * @return the directory where the standalone distribution was installed
     */
    File getInstallDirectory();

    /**
     * Returns the name of this runtime's profile.
     *
     * @return the name of this runtime's profile
     */
    String getProfileName();

    /**
     * Returns the directory containing this runtime's profile.
     *
     * @return the directory containing this runtime's profile
     */
    File getProfileDirectory();

    /**
     * Returns the host's ClassLoader.
     * This is the root classloader for the runtime supplied by the host environment.
     *
     * @return the host's ClassLoader
     */
    ClassLoader getHostClassLoader();

    /**
     * Returns the runtime boot ClassLoader.
     * This is the classloader used to load runtime components.
     *
     * @return the runtime boot ClassLoader
     */
    ClassLoader getBootClassLoader();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy