Class AtPolicyMapConfigurator

  • All Implemented Interfaces:
    PolicyMapConfigurator

    public class AtPolicyMapConfigurator
    extends Object
    implements PolicyMapConfigurator
    From CMT EJB methods generate wsdl:binding/wsdl:operations with semantically equivalent WS-AT Policy Assertion(s).

    Known limitation: not accounting for EJB deployment descriptor, only working off of TransactionAttribute annotations.

    • Constructor Detail

      • AtPolicyMapConfigurator

        public AtPolicyMapConfigurator()
    • Method Detail

      • update

        public Collection<PolicySubject> update​(PolicyMap policyMap,
                                                SEIModel model,
                                                WSBinding wsBinding)
                                         throws PolicyException
        Update policy map with operation scope of correct WS-AT policy assertions.

        Only looking for this for Java to WSDL at tool time.

        Specified by:
        update in interface PolicyMapConfigurator
        Parameters:
        policyMapMutator -
        policyMap -
        model -
        wsBinding -
        Returns:
        A collection of policies and the subject to which they are attached. May return null or an empty collection.
        Throws:
        PolicyException - Throw this exception if an error occurs