org.apache.tuscany.sca.policy.impl
Class PolicyFactoryImpl

java.lang.Object
  extended by org.apache.tuscany.sca.policy.impl.PolicyFactoryImpl
All Implemented Interfaces:
PolicyFactory
Direct Known Subclasses:
DefaultPolicyFactory

public abstract class PolicyFactoryImpl
extends java.lang.Object
implements PolicyFactory

A factory for the policy model.


Constructor Summary
PolicyFactoryImpl()
           
 
Method Summary
 Intent createIntent()
          Create a new intent.
 IntentMap createIntentMap()
          Create a new intent map.
 PolicySet createPolicySet()
          Create a new policy set.
 PolicySetReference createPolicySetReference()
          create a new PolicySetReference
 ProfileIntent createProfileIntent()
          create a new Profile Intent
 QualifiedIntent createQualifiedIntent()
          create a new QualifiedIntent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyFactoryImpl

public PolicyFactoryImpl()
Method Detail

createIntent

public Intent createIntent()
Description copied from interface: PolicyFactory
Create a new intent.

Specified by:
createIntent in interface PolicyFactory
Returns:
a new intent

createPolicySetReference

public PolicySetReference createPolicySetReference()
Description copied from interface: PolicyFactory
create a new PolicySetReference

Specified by:
createPolicySetReference in interface PolicyFactory
Returns:
a PolicySetReference instance

createPolicySet

public PolicySet createPolicySet()
Description copied from interface: PolicyFactory
Create a new policy set.

Specified by:
createPolicySet in interface PolicyFactory
Returns:
a new policy set

createIntentMap

public IntentMap createIntentMap()
Description copied from interface: PolicyFactory
Create a new intent map.

Specified by:
createIntentMap in interface PolicyFactory
Returns:
a new intent map

createProfileIntent

public ProfileIntent createProfileIntent()
Description copied from interface: PolicyFactory
create a new Profile Intent

Specified by:
createProfileIntent in interface PolicyFactory
Returns:
a ProfileIntent instance

createQualifiedIntent

public QualifiedIntent createQualifiedIntent()
Description copied from interface: PolicyFactory
create a new QualifiedIntent

Specified by:
createQualifiedIntent in interface PolicyFactory
Returns:
a QualifiedIntent instance