JarLinkNodeConfiguration.java :  » Inversion-of-Control » carbon » org » sape » carbon » services » config » jar » Java Open Source

Java Open Source » Inversion of Control » carbon 
carbon » org » sape » carbon » services » config » jar » JarLinkNodeConfiguration.java
/*
 * The contents of this file are subject to the Sapient Public License
 * Version 1.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://carbon.sf.net/License.html.
 *
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
 * the specific language governing rights and limitations under the License.
 *
 * The Original Code is The Carbon Component Framework.
 *
 * The Initial Developer of the Original Code is Sapient Corporation
 *
 * Copyright (C) 2003 Sapient Corporation. All Rights Reserved.
 */

package org.sape.carbon.services.config.jar;

import org.sape.carbon.core.config.node.link.LinkNodeConfiguration;

/**
 * Additional link node configuration for links to or within jars
 *
 * Copyright 2002 Sapient
 * @since carbon 1.0
 * @author Douglas Voet, April 2002
 * @version $Revision: 1.2 $($Author: dvoet $ / $Date: 2003/05/05 21:21:09 $)
 */
public interface JarLinkNodeConfiguration
    extends LinkNodeConfiguration {

    /**
     * TargetJarPath is the path to the .jar file that is the target of the link
     *
     * @return String
     */
    String getTargetJarPath();

    /**
     * TargetJarPath is the path to the .jar file that is the target of the link
     *
     * @param path the path to the .jar file target
     */
    void setTargetJarPath(String path);

    /**
     * TargetRootWithinJar is the name of the root entry in the jar which this
     * link points to.  This need not be specified if the root is the root
     * of the jar
     *
     * @return String
     */
    String getTargetRootWithinJar();

    /**
     * TargetRootWithinJar is the name of the root entry in the jar which this
     * link points to.  This need not be specified if the root is the root
     * of the jar
     *
     * @param root the target root to set withing the jar
     */
    void setTargetRootWithinJar(String root);
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.