summaryrefslogtreecommitdiffstats
path: root/branches/sca-java-integration/sca/kernel/spi/src/main/java/org/apache/tuscany/spi/model/PolicyAttachable.java
blob: eae425dca80049dfa083fe6dfdd0a2dbb07de61e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package org.apache.tuscany.spi.model;

import java.util.Collection;
/**
*
* Represents capability of being attached with Intent and PolicySet.
*
*/
public interface PolicyAttachable {
    /**
     * Get the name of PolicySet attached
     * @return the name of PolicySet
     */
    String getPolicySet();
    /**
     * Get collection contains <code>IntentName</code> required.
     * @return collection contains <code>IntentName</code> required.
     */
    Collection<IntentName> getRequiredIntents();

}