public synchronized static ServantCachingPolicy getInfoOnlyPolicy() { if (infoOnlyPolicy == null) infoOnlyPolicy = new ServantCachingPolicy(INFO_ONLY_SEMANTICS); return infoOnlyPolicy; }
/** * Return the default servant caching policy. */ public synchronized static ServantCachingPolicy getPolicy() { return getFullPolicy(); }
public String toString() { return "ServantCachingPolicy[" + typeToName() + "]"; }
public final int servantCachingLevel() { Integer key = new Integer(ORBConstants.SERVANT_CACHING_POLICY); ServantCachingPolicy policy = (ServantCachingPolicy) policyMap.get(key); if (policy == null) return ServantCachingPolicy.NO_SERVANT_CACHING; else return policy.getType(); }
public final int servantCachingLevel() { Integer key = new Integer(ORBConstants.SERVANT_CACHING_POLICY); ServantCachingPolicy policy = (ServantCachingPolicy) policyMap.get(key); if (policy == null) return ServantCachingPolicy.NO_SERVANT_CACHING; else return policy.getType(); }
public synchronized static ServantCachingPolicy getInfoOnlyPolicy() { if (infoOnlyPolicy == null) infoOnlyPolicy = new ServantCachingPolicy(INFO_ONLY_SEMANTICS); return infoOnlyPolicy; }
/** * Return the default servant caching policy. */ public synchronized static ServantCachingPolicy getPolicy() { return getFullPolicy(); }
public String toString() { return "ServantCachingPolicy[" + typeToName() + "]"; }
public synchronized static ServantCachingPolicy getMinimalPolicy() { if (minimalPolicy == null) minimalPolicy = new ServantCachingPolicy(MINIMAL_SEMANTICS); return minimalPolicy; }
public synchronized static ServantCachingPolicy getFullPolicy() { if (policy == null) policy = new ServantCachingPolicy(FULL_SEMANTICS); return policy; }
public synchronized static ServantCachingPolicy getMinimalPolicy() { if (minimalPolicy == null) minimalPolicy = new ServantCachingPolicy(MINIMAL_SEMANTICS); return minimalPolicy; }
public synchronized static ServantCachingPolicy getFullPolicy() { if (policy == null) policy = new ServantCachingPolicy(FULL_SEMANTICS); return policy; }