Class EntitlementMediator

  • All Implemented Interfaces:
    org.apache.synapse.aspects.AspectConfigurable, org.apache.synapse.debug.constructs.EnclosedInlinedSequence, org.apache.synapse.ManagedLifecycle, org.apache.synapse.Mediator, org.apache.synapse.mediators.FlowContinuableMediator, org.apache.synapse.SynapseArtifact

    public class EntitlementMediator
    extends org.apache.synapse.mediators.AbstractMediator
    implements org.apache.synapse.ManagedLifecycle, org.apache.synapse.mediators.FlowContinuableMediator, org.apache.synapse.debug.constructs.EnclosedInlinedSequence
    • Constructor Detail

      • EntitlementMediator

        public EntitlementMediator()
    • Method Detail

      • mediate

        public boolean mediate​(org.apache.synapse.MessageContext synCtx)
        Specified by:
        mediate in interface org.apache.synapse.Mediator
      • mediate

        public boolean mediate​(org.apache.synapse.MessageContext synCtx,
                               org.apache.synapse.ContinuationState continuationState)
        Specified by:
        mediate in interface org.apache.synapse.mediators.FlowContinuableMediator
      • init

        public void init​(org.apache.synapse.core.SynapseEnvironment synEnv)
        Specified by:
        init in interface org.apache.synapse.ManagedLifecycle
      • destroy

        public void destroy()
        Specified by:
        destroy in interface org.apache.synapse.ManagedLifecycle
      • getCallbackClass

        public String getCallbackClass()
      • setCallbackClass

        public void setCallbackClass​(String callbackClass)
      • getRemoteServiceUserName

        public String getRemoteServiceUserName()
      • setRemoteServiceUserName

        public void setRemoteServiceUserName​(String remoteServiceUserName)
      • getRemoteServiceUserNameKey

        public String getRemoteServiceUserNameKey()
      • setRemoteServiceUserNameKey

        public void setRemoteServiceUserNameKey​(String remoteServiceUserNameKey)
      • getRemoteServicePasswordKey

        public String getRemoteServicePasswordKey()
      • setRemoteServicePasswordKey

        public void setRemoteServicePasswordKey​(String remoteServicePasswordKey)
      • getRemoteServicePassword

        public String getRemoteServicePassword()
      • setRemoteServicePassword

        public void setRemoteServicePassword​(String remoteServicePassword)
      • getRemoteServiceUrl

        public String getRemoteServiceUrl()
      • setRemoteServiceUrl

        public void setRemoteServiceUrl​(String remoteServiceUrl)
      • getRemoteServiceUrlKey

        public String getRemoteServiceUrlKey()
      • setRemoteServiceUrlKey

        public void setRemoteServiceUrlKey​(String remoteServiceUrlKey)
      • getCacheType

        public String getCacheType()
      • setCacheType

        public void setCacheType​(String cacheType)
      • getInvalidationInterval

        public int getInvalidationInterval()
      • setInvalidationInterval

        public void setInvalidationInterval​(int invalidationInterval)
      • getMaxCacheEntries

        public int getMaxCacheEntries()
      • setMaxCacheEntries

        public void setMaxCacheEntries​(int maxCacheEntries)
      • getClient

        public String getClient()
      • setClient

        public void setClient​(String client)
      • getThriftPort

        public String getThriftPort()
      • setThriftPort

        public void setThriftPort​(String thriftPort)
      • getThriftHost

        public String getThriftHost()
      • setThriftHost

        public void setThriftHost​(String thriftHost)
      • getReuseSession

        public String getReuseSession()
      • setReuseSession

        public void setReuseSession​(String reuseSession)
      • getOnRejectSeqKey

        public String getOnRejectSeqKey()
      • setOnRejectMediator

        public void setOnRejectMediator​(org.apache.synapse.Mediator onRejectMediator)
      • getOnAcceptSeqKey

        public String getOnAcceptSeqKey()
      • setOnAcceptMediator

        public void setOnAcceptMediator​(org.apache.synapse.Mediator onAcceptMediator)
      • getOnRejectMediator

        public org.apache.synapse.Mediator getOnRejectMediator()
      • setOnRejectSeqKey

        public void setOnRejectSeqKey​(String onRejectSeqKey)
      • getOnAcceptMediator

        public org.apache.synapse.Mediator getOnAcceptMediator()
      • setOnAcceptSeqKey

        public void setOnAcceptSeqKey​(String onAcceptSeqKey)
      • getObligationsSeqKey

        public String getObligationsSeqKey()
      • setObligationsMediator

        public void setObligationsMediator​(org.apache.synapse.Mediator obligationsMediator)
      • getObligationsMediator

        public org.apache.synapse.Mediator getObligationsMediator()
      • setObligationsSeqKey

        public void setObligationsSeqKey​(String obligationsSeqKey)
      • getAdviceMediator

        public org.apache.synapse.Mediator getAdviceMediator()
      • setAdviceMediator

        public void setAdviceMediator​(org.apache.synapse.Mediator adviceMediator)
      • getAdviceSeqKey

        public String getAdviceSeqKey()
      • setAdviceSeqKey

        public void setAdviceSeqKey​(String adviceSeqKey)
      • getInlineSequence

        public org.apache.synapse.Mediator getInlineSequence​(org.apache.synapse.config.SynapseConfiguration synCfg,
                                                             int inlinedSeqIdentifier)
        Specified by:
        getInlineSequence in interface org.apache.synapse.debug.constructs.EnclosedInlinedSequence