com.alibaba.dubbo.config
Class RegistryConfig

java.lang.Object  extended by com.alibaba.dubbo.config.AbstractConfig      extended by com.alibaba.dubbo.config.RegistryConfig
All Implemented Interfaces:
Serializable

public class RegistryConfig
extends AbstractConfig

RegistryConfig

Author:
william.liangf
See Also:
Serialized Form


Field Summary
static StringNO_AVAILABLE
           
 
Constructor Summary
RegistryConfig()
           
RegistryConfig(String address)
           
 
Method Summary
static voidcloseAll()
          Deprecated. 
static voiddestroyAll()
           
 StringgetAddress()
           
 StringgetClient()
           
 StringgetCluster()
           
 StringgetFile()
           
 StringgetGroup()
           
 Map<String,String>getParameters()
           
 StringgetPassword()
           
 IntegergetPort()
           
 StringgetProtocol()
           
 StringgetServer()
           
 IntegergetSession()
           
 IntegergetTimeout()
           
 StringgetTransport()
          Deprecated.  
 StringgetTransporter()
           
 StringgetUsername()
           
 StringgetVersion()
           
 IntegergetWait()
          Deprecated.  
 BooleanisCheck()
           
 BooleanisDefault()
           
 BooleanisDynamic()
           
 BooleanisRegister()
           
 BooleanisSubscribe()
           
 voidsetAddress(String address)
           
 voidsetCheck(Boolean check)
           
 voidsetClient(String client)
           
 voidsetCluster(String cluster)
           
 voidsetDefault(Boolean isDefault)
           
 voidsetDynamic(Boolean dynamic)
           
 voidsetFile(String file)
           
 voidsetGroup(String group)
           
 voidsetParameters(Map<String,String> parameters)
           
 voidsetPassword(String password)
           
 voidsetPort(Integer port)
           
 voidsetProtocol(String protocol)
           
 voidsetRegister(Boolean register)
           
 voidsetServer(String server)
           
 voidsetSession(Integer session)
           
 voidsetSubscribe(Boolean subscribe)
           
 voidsetTimeout(Integer timeout)
           
 voidsetTransport(String transport)
          Deprecated.  
 voidsetTransporter(String transporter)
           
 voidsetUsername(String username)
           
 voidsetVersion(String version)
           
 voidsetWait(Integer wait)
          Deprecated.  
 
Methods inherited from class com.alibaba.dubbo.config.AbstractConfig
getId, setId, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NO_AVAILABLE

public static final String NO_AVAILABLE
See Also:
Constant Field Values
Constructor Detail

RegistryConfig

public RegistryConfig()

RegistryConfig

public RegistryConfig(String address)
Method Detail

getProtocol

public String getProtocol()

setProtocol

public void setProtocol(String protocol)

getAddress

@Parameter(excluded=true)public String getAddress()

setAddress

public void setAddress(String address)

getPort

public Integer getPort()

setPort

public void setPort(Integer port)

getUsername

public String getUsername()

setUsername

public void setUsername(String username)

getPassword

public String getPassword()

setPassword

public void setPassword(String password)

getWait

@Deprecatedpublic Integer getWait()
Deprecated. 

Returns:
wait
See Also:
ProviderConfig.getWait()

setWait

@Deprecatedpublic void setWait(Integer wait)
Deprecated. 

Parameters:
wait -
See Also:
ProviderConfig.setWait(Integer)

isCheck

public Boolean isCheck()

setCheck

public void setCheck(Boolean check)

getFile

public String getFile()

setFile

public void setFile(String file)

getTransport

@Deprecated@Parameter(excluded=true)public String getTransport()
Deprecated. 

Returns:
transport
See Also:
getTransporter()

setTransport

@Deprecatedpublic void setTransport(String transport)
Deprecated. 

Parameters:
transport -
See Also:
setTransporter(String)

getTransporter

public String getTransporter()

setTransporter

public void setTransporter(String transporter)

getServer

public String getServer()

setServer

public void setServer(String server)

getClient

public String getClient()

setClient

public void setClient(String client)

getTimeout

public Integer getTimeout()

setTimeout

public void setTimeout(Integer timeout)

getSession

public Integer getSession()

setSession

public void setSession(Integer session)

isDynamic

public Boolean isDynamic()

setDynamic

public void setDynamic(Boolean dynamic)

isRegister

public Boolean isRegister()

setRegister

public void setRegister(Boolean register)

isSubscribe

public Boolean isSubscribe()

setSubscribe

public void setSubscribe(Boolean subscribe)

getCluster

public String getCluster()

setCluster

public void setCluster(String cluster)

getGroup

public String getGroup()

setGroup

public void setGroup(String group)

getVersion

public String getVersion()

setVersion

public void setVersion(String version)

getParameters

public Map<String,String> getParameters()

setParameters

public void setParameters(Map<String,String> parameters)

isDefault

public Boolean isDefault()

setDefault

public void setDefault(Boolean isDefault)

destroyAll

public static void destroyAll()

closeAll

@Deprecatedpublic static void closeAll()
Deprecated. 



Copyright © 2012
Alibaba. All Rights Reserved.


NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14