org.apache.tuscany.sca.assembly.impl
Class ImplementationImpl

java.lang.Object
  extended by org.apache.tuscany.sca.assembly.impl.BaseImpl
      extended by org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
          extended by org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
              extended by org.apache.tuscany.sca.assembly.impl.ImplementationImpl
All Implemented Interfaces:
java.lang.Cloneable, Base, ComponentType, Extensible, Implementation, OperationsConfigurator, IntentAttachPoint, PolicySetAttachPoint
Direct Known Subclasses:
CompositeImpl, JavaImplementationImpl, NotificationImplementationImpl, OSGiImplementationImpl, SpringImplementation, XQueryImplementationImpl

public abstract class ImplementationImpl
extends ComponentTypeImpl
implements Implementation, PolicySetAttachPoint, OperationsConfigurator

Base implementation class of Implementation model interface


Constructor Summary
protected ImplementationImpl()
           
 
Method Summary
 java.util.List<PolicySet> getApplicablePolicySets()
          Returns a list of policy sets defined in the domain, that are applicable to this PolicySetAttachPoint.
 java.util.List<ConfiguredOperation> getConfiguredOperations()
           
 java.util.List<PolicySet> getPolicySets()
          Returns a list of policy sets.
 java.util.List<Intent> getRequiredIntents()
          Returns a list of policy intents.
 IntentAttachPointType getType()
          Returns the type of the attach point such as a BindingType or an ImplementationType and so on
 void setType(IntentAttachPointType type)
          Sets the type of the attach point such as a BindingType or an ImplementationType and so on
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ComponentTypeImpl
clone, equals, getConstrainingType, getProperties, getReferences, getServices, getURI, hashCode, setConstrainingType, setURI
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.ExtensibleImpl
getExtensions
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl
isUnresolved, setUnresolved
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.sca.assembly.ComponentType
getConstrainingType, getProperties, getReferences, getServices, getURI, setConstrainingType, setURI
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 

Constructor Detail

ImplementationImpl

protected ImplementationImpl()
Method Detail

getApplicablePolicySets

public java.util.List<PolicySet> getApplicablePolicySets()
Description copied from interface: PolicySetAttachPoint
Returns a list of policy sets defined in the domain, that are applicable to this PolicySetAttachPoint. An applicable PolicySet is one that include this PolicySetAttachPoint as part of its 'appliesTo' XPath attribute.

Specified by:
getApplicablePolicySets in interface PolicySetAttachPoint
Returns:
a list of policy sets applicable to this PolicySetAttachPoint

getConfiguredOperations

public java.util.List<ConfiguredOperation> getConfiguredOperations()
Specified by:
getConfiguredOperations in interface OperationsConfigurator

getPolicySets

public java.util.List<PolicySet> getPolicySets()
Description copied from interface: PolicySetAttachPoint
Returns a list of policy sets. See the Policy Framework specification for a description of this attribute.

Specified by:
getPolicySets in interface PolicySetAttachPoint
Returns:
a list of policy sets.

getRequiredIntents

public java.util.List<Intent> getRequiredIntents()
Description copied from interface: IntentAttachPoint
Returns a list of policy intents. See the Policy Framework specification for a description of this attribute.

Specified by:
getRequiredIntents in interface IntentAttachPoint
Returns:
a list of policy intents.

getType

public IntentAttachPointType getType()
Description copied from interface: IntentAttachPoint
Returns the type of the attach point such as a BindingType or an ImplementationType and so on

Specified by:
getType in interface IntentAttachPoint
Returns:

setType

public void setType(IntentAttachPointType type)
Description copied from interface: IntentAttachPoint
Sets the type of the attach point such as a BindingType or an ImplementationType and so on

Specified by:
setType in interface IntentAttachPoint