org.mc4j.ems.connection.settings
Class ConnectionSettings

java.lang.Object
  extended by org.mc4j.ems.connection.settings.ConnectionSettings
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ConnectionSettings
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

Options for connections

Version:
$Revision: 1.2 $($Author: ghinkl $ / $Date: 2006/04/12 19:11:34 $)
Author:
Greg Hinkle (ghinkle@users.sourceforge.net), January 2002
See Also:
Serialized Form

Constructor Summary
ConnectionSettings()
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object object)
           
 java.util.Properties getAdvancedProperties()
           
 java.util.List<java.io.File> getClassPathEntries()
          Getter for property classPathEntries.
 java.lang.String getConnectionName()
          Getter for property name.
 ConnectionTypeDescriptor getConnectionType()
          Getter for property connectionType.
 java.util.Properties getControlProperties()
           
 java.lang.String getCredentials()
          Getter for property credentials.
 java.lang.String getInitialContextName()
          Getter for property initialContextName.
 java.lang.String getJndiName()
          Getter for property jndiName.
 java.lang.String getLibraryURI()
          The installation path (on disk) for the server to be connected to.
 java.lang.String getPrincipal()
          Getter for property principal.
 java.lang.String getServerUrl()
          Getter for property serverUrl.
 void initializeConnectionType(ConnectionTypeDescriptor connectionTypeDescriptor)
           
 boolean isAutoConnect()
          Getter for property autoConnect.
 boolean isLiveTree()
          Getter for property liveTree.
 void setAdvancedProperties(java.util.Properties advancedProperties)
           
 void setAutoConnect(boolean autoConnect)
          Setter for property autoConnect.
 void setClassPathEntries(java.util.List<java.io.File> classPathEntries)
          Setter for property classPathEntries.
 void setConnectionName(java.lang.String connectionName)
          Setter for property name.
 void setConnectionType(ConnectionTypeDescriptor connectionType)
          Setter for property connectionType.
 void setControlProperties(java.util.Properties controlProperties)
           
 void setCredentials(java.lang.String credentials)
          Setter for property credentials.
 void setInitialContextName(java.lang.String initialContextName)
          Setter for property initialContextName.
 void setJndiName(java.lang.String jndiName)
          Setter for property jndiName.
 void setLibraryURI(java.lang.String libraryURI)
           
 void setLiveTree(boolean liveTree)
          Setter for property liveTree.
 void setPrincipal(java.lang.String principal)
          Setter for property principal.
 void setServerUrl(java.lang.String serverUrl)
          Setter for property serverUrl.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionSettings

public ConnectionSettings()
Method Detail

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

getConnectionType

public ConnectionTypeDescriptor getConnectionType()
Getter for property connectionType.

Returns:
Value of property connectionType.

initializeConnectionType

public void initializeConnectionType(ConnectionTypeDescriptor connectionTypeDescriptor)

setConnectionType

public void setConnectionType(ConnectionTypeDescriptor connectionType)
Setter for property connectionType.

Parameters:
connectionType - New value of property connectionType.

getCredentials

public java.lang.String getCredentials()
Getter for property credentials.

Returns:
Value of property credentials.

setCredentials

public void setCredentials(java.lang.String credentials)
Setter for property credentials.

Parameters:
credentials - New value of property credentials.

getInitialContextName

public java.lang.String getInitialContextName()
Getter for property initialContextName.

Returns:
Value of property initialContextName.

setInitialContextName

public void setInitialContextName(java.lang.String initialContextName)
Setter for property initialContextName.

Parameters:
initialContextName - New value of property initialContextName.

getJndiName

public java.lang.String getJndiName()
Getter for property jndiName.

Returns:
Value of property jndiName.

setJndiName

public void setJndiName(java.lang.String jndiName)
Setter for property jndiName.

Parameters:
jndiName - New value of property jndiName.

getConnectionName

public java.lang.String getConnectionName()
Getter for property name.

Returns:
Value of property name.

setConnectionName

public void setConnectionName(java.lang.String connectionName)
Setter for property name.

Parameters:
connectionName - New value of property name.

getPrincipal

public java.lang.String getPrincipal()
Getter for property principal.

Returns:
Value of property principal.

setPrincipal

public void setPrincipal(java.lang.String principal)
Setter for property principal.

Parameters:
principal - New value of property principal.

getServerUrl

public java.lang.String getServerUrl()
Getter for property serverUrl.

Returns:
Value of property serverUrl.

setServerUrl

public void setServerUrl(java.lang.String serverUrl)
Setter for property serverUrl.

Parameters:
serverUrl - New value of property serverUrl.

isAutoConnect

public boolean isAutoConnect()
Getter for property autoConnect.

Returns:
Value of property autoConnect.

setAutoConnect

public void setAutoConnect(boolean autoConnect)
Setter for property autoConnect.

Parameters:
autoConnect - New value of property autoConnect.

isLiveTree

public boolean isLiveTree()
Getter for property liveTree.

Returns:
Value of property liveTree.

setLiveTree

public void setLiveTree(boolean liveTree)
Setter for property liveTree.

Parameters:
liveTree - New value of property liveTree.

getLibraryURI

public java.lang.String getLibraryURI()
The installation path (on disk) for the server to be connected to. Setting this allows you to utilize the connection factory to find the classpath libraries needed to make the connection.


setLibraryURI

public void setLibraryURI(java.lang.String libraryURI)

getClassPathEntries

public java.util.List<java.io.File> getClassPathEntries()
Getter for property classPathEntries.

Returns:
Value of property classPathEntries.

setClassPathEntries

public void setClassPathEntries(java.util.List<java.io.File> classPathEntries)
Setter for property classPathEntries.

Parameters:
classPathEntries - New value of property classPathEntries.

getAdvancedProperties

public java.util.Properties getAdvancedProperties()

setAdvancedProperties

public void setAdvancedProperties(java.util.Properties advancedProperties)

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable

getControlProperties

public java.util.Properties getControlProperties()

setControlProperties

public void setControlProperties(java.util.Properties controlProperties)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object