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

org.fabric3.spi.discovery.ServiceEntry Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package org.fabric3.spi.discovery;

/**
 * A service entry.
 */
public class ServiceEntry extends AbstractEntry {
    private String path;

    public ServiceEntry() {
    }

    public ServiceEntry(String name, String address, int port, String transport) {
        this.name = name;
        this.address = address;
        this.port = port;
        this.transport = transport;
    }

    /**
     * Returns the service path.
     *
     * @return the path
     */
    public String getPath() {
        return path;
    }

    /**
     * Sets the service path.
     *
     * @param path the path
     */
    public void setPath(String path) {
        check();
        this.path = path;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy