org.figure8.join.businessobjects.environment
Interface Resource

All Known Implementing Classes:
AbstractResource, EIS, Gateway, Service, VersionedResource

public interface Resource

This entity interface represents a Resource used by physical environments managed by Join. A Resource is typed and thus exposes its ResourceType.
A Resource is also hosted on a specific machine and may provide access to the supported application log files.

Version:
$Revision: 1.1 $
Author:
Laurent Broudoux

Method Summary
 java.lang.String getLogDirPath()
           
 java.lang.String getLogFilePath()
           
 Machine getMachine()
           
 java.lang.String getName()
           
 java.util.List getPhysicalEnvironments()
           
 ResourceType getResourceType()
           
 

Method Detail

getName

java.lang.String getName()
Returns:
This resource unique name

getLogDirPath

java.lang.String getLogDirPath()
Returns:
The path to directory where this resource stores log files

getLogFilePath

java.lang.String getLogFilePath()
Returns:
The path to current log file for this resource

getMachine

Machine getMachine()
Returns:
The physical machine hosting this resource (if any)

getResourceType

ResourceType getResourceType()
Returns:
The type of this resource

getPhysicalEnvironments

java.util.List getPhysicalEnvironments()
Returns:
The physical environments that are using this resource


Copyright © 2005-2008 Join. All Rights Reserved.