public class ResourceServerAdapter extends Object implements ResourceServer, CachedModel<ResourceServer>
Modifier and Type | Field and Description |
---|---|
protected CachedResourceServer |
cached |
protected StoreFactoryCacheSession |
cacheSession |
protected boolean |
invalidated |
protected ResourceServer |
updated |
Constructor and Description |
---|
ResourceServerAdapter(CachedResourceServer cached,
StoreFactoryCacheSession cacheSession) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getCacheTimestamp() |
DecisionStrategy |
getDecisionStrategy() |
ResourceServer |
getDelegateForUpdate() |
String |
getId() |
PolicyEnforcementMode |
getPolicyEnforcementMode() |
int |
hashCode() |
void |
invalidate() |
protected void |
invalidateFlag() |
boolean |
isAllowRemoteResourceManagement() |
protected boolean |
isUpdated() |
void |
setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement) |
void |
setDecisionStrategy(DecisionStrategy decisionStrategy) |
void |
setPolicyEnforcementMode(PolicyEnforcementMode enforcementMode) |
protected CachedResourceServer cached
protected StoreFactoryCacheSession cacheSession
protected ResourceServer updated
protected boolean invalidated
public ResourceServerAdapter(CachedResourceServer cached, StoreFactoryCacheSession cacheSession)
public ResourceServer getDelegateForUpdate()
getDelegateForUpdate
in interface CachedModel<ResourceServer>
protected void invalidateFlag()
public void invalidate()
invalidate
in interface CachedModel<ResourceServer>
public long getCacheTimestamp()
getCacheTimestamp
in interface CachedModel<ResourceServer>
protected boolean isUpdated()
public String getId()
getId
in interface ResourceServer
public boolean isAllowRemoteResourceManagement()
isAllowRemoteResourceManagement
in interface ResourceServer
public void setAllowRemoteResourceManagement(boolean allowRemoteResourceManagement)
setAllowRemoteResourceManagement
in interface ResourceServer
public PolicyEnforcementMode getPolicyEnforcementMode()
getPolicyEnforcementMode
in interface ResourceServer
public void setPolicyEnforcementMode(PolicyEnforcementMode enforcementMode)
setPolicyEnforcementMode
in interface ResourceServer
public DecisionStrategy getDecisionStrategy()
getDecisionStrategy
in interface ResourceServer
public void setDecisionStrategy(DecisionStrategy decisionStrategy)
setDecisionStrategy
in interface ResourceServer
Copyright © 2021 JBoss by Red Hat. All rights reserved.