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

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.CallbackImpl
All Implemented Interfaces:
Base, Callback, Extensible, OperationsConfigurator, IntentAttachPoint, PolicySetAttachPoint

public class CallbackImpl
extends ExtensibleImpl
implements Callback

Represents a reference.


Constructor Summary
protected CallbackImpl()
           
 
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<Binding> getBindings()
          Returns the bindings supported for callbacks.
 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 setPolicySets(java.util.List<PolicySet> policySets)
           
 void setRequiredIntents(java.util.List<Intent> intents)
           
 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.ExtensibleImpl
getExtensions
 
Methods inherited from class org.apache.tuscany.sca.assembly.impl.BaseImpl
isUnresolved, setUnresolved
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Base
isUnresolved, setUnresolved
 
Methods inherited from interface org.apache.tuscany.sca.assembly.Extensible
getExtensions
 

Constructor Detail

CallbackImpl

protected CallbackImpl()
Method Detail

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.

getBindings

public java.util.List<Binding> getBindings()
Description copied from interface: Callback
Returns the bindings supported for callbacks.

Specified by:
getBindings in interface Callback
Returns:
the bindings supported for callbacks

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

setPolicySets

public void setPolicySets(java.util.List<PolicySet> policySets)

setRequiredIntents

public void setRequiredIntents(java.util.List<Intent> intents)

getConfiguredOperations

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

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