com.metamatrix.common.config.api
Interface Host

All Superinterfaces:
BaseObject, java.lang.Cloneable, java.lang.Comparable, ComponentDefn, ComponentObject
All Known Implementing Classes:
BasicHost

public interface Host
extends ComponentDefn


Field Summary
static ComponentTypeID HOST_COMPONENT_TYPE_ID
           
 
Fields inherited from interface com.metamatrix.common.config.api.ComponentDefn
AUTHPROVIDER_COMPONENT_CODE, CONFIGURATION_COMPONENT_CODE, CONNECTOR_COMPONENT_CODE, DEPLOYED_COMPONENT_CODE, HOST_COMPONENT_CODE, PRODUCT_COMPONENT_CODE, PSC_COMPONENT_CODE, RESOURCE_DESCRIPTOR_COMPONENT_CODE, SERVICE_COMPONENT_CODE, SHARED_RESOURCE_COMPONENT_CODE, VM_COMPONENT_CODE
 
Method Summary
 java.lang.String getBindAddress()
          Return the address that should be used to bind to the host
 java.lang.String getDataDirectory()
          Returns the directory where data files created on this host machine should be located.
 java.lang.String getHostAddress()
          Return the physical host address.
 java.lang.String getLogDirectory()
          Returns the directory where log files created on this host machine should be located.
 java.lang.String getTempDirectory()
          Returns the temp directory that is used when setting the java.io.tmpdir envornment variable
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentDefn
getConfigurationID, isEnabled, isEssential
 
Methods inherited from interface com.metamatrix.common.config.api.ComponentObject
accept, getComponentTypeID, getCreatedBy, getCreatedDate, getDescription, getLastChangedBy, getLastChangedDate, getName, getProperties, getProperty, isDependentUpon
 
Methods inherited from interface com.metamatrix.common.namedobject.BaseObject
clone, getFullName, getID
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

HOST_COMPONENT_TYPE_ID

static final ComponentTypeID HOST_COMPONENT_TYPE_ID
Method Detail

getLogDirectory

java.lang.String getLogDirectory()
Returns the directory where log files created on this host machine should be located. This maybe null, therfore, the logfile will goto the current directory.

Returns:
Since:
4.3

getDataDirectory

java.lang.String getDataDirectory()
Returns the directory where data files created on this host machine should be located. This maybe null, therfore, the data files will goto the current directory.

Returns:
Since:
4.3

getTempDirectory

java.lang.String getTempDirectory()
Returns the temp directory that is used when setting the java.io.tmpdir envornment variable

Returns:
Since:
4.3

getBindAddress

java.lang.String getBindAddress()
Return the address that should be used to bind to the host

Returns:
Since:
4.3

getHostAddress

java.lang.String getHostAddress()
Return the physical host address. The physical may or may not be the same as the logical host name (@see #getID().getFullName())

Returns:
Since:
4.3


Copyright © 2009. All Rights Reserved.