com.metamatrix.common.config.api
Interface ProductServiceConfig
- All Superinterfaces:
- BaseObject, java.lang.Cloneable, java.lang.Comparable, ComponentDefn, ComponentObject
- All Known Implementing Classes:
- BasicProductServiceConfig
public interface ProductServiceConfig
- extends ComponentDefn
A ProductServiceConfig (or PSC) is a named collection of service
definitions. A PSC can be deployed, which in effect deploys it's
contained service definitions.
The type of a PSC will be an instance of ProductType. The
inherited getComponentTypeID
method will return a
ComponentTypeID object.
- See Also:
ServiceComponentDefn
,
ProductType
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 |
Methods inherited from interface java.lang.Comparable |
compareTo |
PSC_COMPONENT_TYPE_ID
static final ComponentTypeID PSC_COMPONENT_TYPE_ID
getServiceComponentDefnIDs
java.util.Collection getServiceComponentDefnIDs()
- Returns a Collection of ServiceComponentDefnID objects, which
represent the service component definitions that are contained
by this product service configuration.
containsService
boolean containsService(ServiceComponentDefnID serviceID)
- Indicates if the service belongs to this PSC.
isServiceEnabled
boolean isServiceEnabled(ServiceComponentDefnID serviceID)
- Indicates if this Service Definition is enabled within the PSC
that contains it; "enabled" refers to it being enabled for
deployment, if the containing PSC is deployed.
- Returns:
- boolean indicating if this service definition will be deployed
if the PSC which contains it is deployed
accept
void accept(ConfigurationVisitor visitor)
- Specified by:
accept
in interface ComponentObject
Copyright © 2009. All Rights Reserved.