Package com.ibm.di.config.base
Class RemoteConfigURL
- java.lang.Object
-
- com.ibm.di.config.base.RemoteConfigURL
-
- All Implemented Interfaces:
java.io.Serializable
public class RemoteConfigURL extends java.lang.Object implements java.io.SerializableDeprecated.This class is not used anymore. It was used earlier to hold information needed to access configurations on a remote server.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intDEFAULT_REMOTE_PORTDeprecated.The default remote port is defined as a property (api.remote.naming.port) or we use 1099.static java.lang.StringREMOTE_URL_PROTOCOLDeprecated.The URL "protocol"
-
Constructor Summary
Constructors Constructor Description RemoteConfigURL(java.lang.String path)Deprecated.RemoteConfigURL Constructor.RemoteConfigURL(java.lang.String ip, int port, java.lang.String path)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetConfigID()Deprecated.Gets the Config ID.java.lang.StringgetConfigInstanceID()Deprecated.Method gets the Config Instance ID.java.lang.StringgetFile()Deprecated.Gets the filename.java.lang.StringgetHost()Deprecated.Gets the hostname.java.lang.StringgetPath()Deprecated.Gets the path.intgetPort()Deprecated.Gets the port.java.lang.StringgetRMIConnectionURL()Deprecated.Method gets the RMI Connection URL.SessiongetSession()Deprecated.Method gets the current session information.java.lang.StringgetUserInfo()Deprecated.Returns the userinfostatic booleanisRemoteConfigURL(java.lang.String str)Deprecated.booleanisSSLOn()Deprecated.voidsetConfigID(java.lang.String cID)Deprecated.voidsetConfigInstanceID(java.lang.String string)Deprecated.voidsetPath(java.lang.String path)Deprecated.voidsetSession(Session session)Deprecated.voidsetSSL(boolean ssl)Deprecated.java.lang.StringtoString()Deprecated.
-
-
-
Field Detail
-
DEFAULT_REMOTE_PORT
public static final int DEFAULT_REMOTE_PORT
Deprecated.The default remote port is defined as a property (api.remote.naming.port) or we use 1099.
-
REMOTE_URL_PROTOCOL
public static final java.lang.String REMOTE_URL_PROTOCOL
Deprecated.The URL "protocol"- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RemoteConfigURL
public RemoteConfigURL(java.lang.String path) throws java.net.MalformedURLExceptionDeprecated.RemoteConfigURL Constructor.- Parameters:
path-- Throws:
java.net.MalformedURLException
-
RemoteConfigURL
public RemoteConfigURL(java.lang.String ip, int port, java.lang.String path) throws java.net.MalformedURLExceptionDeprecated.- Parameters:
ip-port-path-- Throws:
java.net.MalformedURLException
-
-
Method Detail
-
isRemoteConfigURL
public static boolean isRemoteConfigURL(java.lang.String str)
Deprecated.
-
getHost
public java.lang.String getHost()
Deprecated.Gets the hostname.- Returns:
- Returns the hostname.
-
getPort
public int getPort()
Deprecated.Gets the port.- Returns:
- Returns the port number.
-
getUserInfo
public java.lang.String getUserInfo()
Deprecated.Returns the userinfo
-
getFile
public java.lang.String getFile()
Deprecated.Gets the filename.- Returns:
- Returns the filename.
-
setPath
public void setPath(java.lang.String path) throws java.net.MalformedURLExceptionDeprecated.- Parameters:
path-- Throws:
java.net.MalformedURLException
-
getPath
public java.lang.String getPath()
Deprecated.Gets the path.- Returns:
- Returns the path.
-
getRMIConnectionURL
public java.lang.String getRMIConnectionURL()
Deprecated.Method gets the RMI Connection URL.- Returns:
- A String containing the RMI connection URL.
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toStringin classjava.lang.Object
-
getConfigID
public java.lang.String getConfigID()
Deprecated.Gets the Config ID.- Returns:
- A string containing the Config ID.
-
setConfigID
public void setConfigID(java.lang.String cID)
Deprecated.- Parameters:
cID-
-
isSSLOn
public boolean isSSLOn()
Deprecated.
-
setSSL
public void setSSL(boolean ssl)
Deprecated.
-
getConfigInstanceID
public java.lang.String getConfigInstanceID()
Deprecated.Method gets the Config Instance ID.- Returns:
- A String containing the ID of the Config Instance.
-
setConfigInstanceID
public void setConfigInstanceID(java.lang.String string)
Deprecated.- Parameters:
string- The Config instance ID.
-
getSession
public Session getSession() throws DIException
Deprecated.Method gets the current session information.- Returns:
- A Session containing the session information.
- Throws:
DIException
-
setSession
public void setSession(Session session)
Deprecated.- Parameters:
session- The session to set.
-
-