org.wso2.balana.samples.kmarket.trading
Class SampleAttributeFinderModule
java.lang.Object
org.wso2.balana.finder.AttributeFinderModule
org.wso2.balana.samples.kmarket.trading.SampleAttributeFinderModule
public class SampleAttributeFinderModule
- extends org.wso2.balana.finder.AttributeFinderModule
Sample attribute finder module. Actually this must be the point that calls to K-Market user store
and retrieve the customer attributes. But here we are not talking any user store and values has
been hard corded in the source.
Methods inherited from class org.wso2.balana.finder.AttributeFinderModule |
findAttribute, getIdentifier, invalidateCache, isSelectorSupported |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleAttributeFinderModule
public SampleAttributeFinderModule()
getSupportedCategories
public Set<String> getSupportedCategories()
- Overrides:
getSupportedCategories
in class org.wso2.balana.finder.AttributeFinderModule
getSupportedIds
public Set getSupportedIds()
- Overrides:
getSupportedIds
in class org.wso2.balana.finder.AttributeFinderModule
findAttribute
public org.wso2.balana.cond.EvaluationResult findAttribute(URI attributeType,
URI attributeId,
String issuer,
URI category,
org.wso2.balana.ctx.EvaluationCtx context)
- Overrides:
findAttribute
in class org.wso2.balana.finder.AttributeFinderModule
isDesignatorSupported
public boolean isDesignatorSupported()
- Overrides:
isDesignatorSupported
in class org.wso2.balana.finder.AttributeFinderModule
Copyright © 2015 WSO2. All rights reserved.