org.apache.tuscany.sca.binding.rmi
Interface RMIBinding

All Superinterfaces:
Base, Binding, java.lang.Cloneable
All Known Implementing Classes:
RMIBindingImpl

public interface RMIBinding
extends Binding

RMI Binding model


Method Summary
 java.lang.String getHost()
           
 java.lang.String getPort()
           
 java.lang.String getServiceName()
           
 void setHost(java.lang.String rmiHostName)
           
 void setPort(java.lang.String rmiPort)
           
 void setServiceName(java.lang.String rmiServiceName)
          Sets the service name for the RMI Server
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Binding
clone, getName, getURI, setName, setURI
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Method Detail

getHost

java.lang.String getHost()
Returns:
the host name of the RMI Service

getPort

java.lang.String getPort()
Returns:
the port number for the RMI Service

getServiceName

java.lang.String getServiceName()
Returns:
returns the RMI Service Name

setHost

void setHost(java.lang.String rmiHostName)
Parameters:
rmiHostName - the hostname of the RMI Service

setPort

void setPort(java.lang.String rmiPort)
Parameters:
rmiPort - the port number for the RMI Service

setServiceName

void setServiceName(java.lang.String rmiServiceName)
Sets the service name for the RMI Server

Parameters:
rmiServiceName - the name of the RMI service