org.figure8.join.businessobjects.environment
Class Gateway

java.lang.Object
  extended by org.figure8.join.core.EntityObject
      extended by org.figure8.join.businessobjects.environment.AbstractResource
          extended by org.figure8.join.businessobjects.environment.Gateway
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable, Resource

public class Gateway
extends AbstractResource

A Resource implementation that provide access to some other Enterprise Information Systems (EIS).
It represents an access point to EIS that may be connected to the main Software project you want to use Join for. A Gateway will be typically used by Enterprise Portal type projects.

Version:
$Revision: 1.4 $
Author:
Laurent Broudoux
See Also:
Serialized Form

Field Summary
static java.lang.String CATEGORY
          The category information of the Gateway implementation of AbstractResource
 
Constructor Summary
Gateway()
          Creates a new instance of Gateway
Gateway(java.lang.String name, GatewayType type)
          Creates a new instance of Gateway with mandatory attributes
 
Method Summary
 void addActiveEISMapping(EISMapping mapping)
          Convenient method for adding a mapped resource into mapping list This method closes the previously existing mapping for this kind of resource.
 java.util.List getActiveEISMappings()
           
 java.lang.String getCategory()
          Return the category information on this resource.
 void setActiveEISMappings(java.util.List mappings)
           
 
Methods inherited from class org.figure8.join.businessobjects.environment.AbstractResource
getCurrentMappings, getLogDirPath, getLogFilePath, getMachine, getName, getPhysicalEnvironments, getResourceType, setCurrentMappings, setLogDirPath, setLogFilePath, setMachine, setName, setResourceType
 
Methods inherited from class org.figure8.join.core.EntityObject
clone, equals, getId, hashCode, isTransient
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORY

public static final java.lang.String CATEGORY
The category information of the Gateway implementation of AbstractResource

See Also:
Constant Field Values
Constructor Detail

Gateway

public Gateway()
Creates a new instance of Gateway


Gateway

public Gateway(java.lang.String name,
               GatewayType type)
Creates a new instance of Gateway with mandatory attributes

Parameters:
name - This gateway name
Method Detail

getActiveEISMappings

public java.util.List getActiveEISMappings()
Returns:
A set of EISMappings that are active now

setActiveEISMappings

public void setActiveEISMappings(java.util.List mappings)
Parameters:
mappings - The set of ResourceMappings that are active now

addActiveEISMapping

public void addActiveEISMapping(EISMapping mapping)
Convenient method for adding a mapped resource into mapping list This method closes the previously existing mapping for this kind of resource.

Parameters:
mapping - The mapping to an infratructure resource to add

getCategory

public java.lang.String getCategory()
Return the category information on this resource.

Specified by:
getCategory in class AbstractResource
Returns:
The category information as character string


Copyright © 2005-2008 Join. All Rights Reserved.