net.jini.lookup
Class ServiceDiscoveryManager.ServiceItemReg
java.lang.Object
net.jini.lookup.ServiceDiscoveryManager.ServiceItemReg
- Enclosing class:
- ServiceDiscoveryManager
private static final class ServiceDiscoveryManager.ServiceItemReg
- extends Object
Used in the LookupCache. For each LookupCache, there is a HashMap that
maps ServiceId to a ServiceItemReg. The ServiceItemReg class helps
track where the ServiceItem comes from.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
items
private final Map items
proxy
private ServiceRegistrar proxy
bDiscarded
private boolean bDiscarded
item
public ServiceItem item
filteredItem
public ServiceItem filteredItem
ServiceDiscoveryManager.ServiceItemReg
public ServiceDiscoveryManager.ServiceItemReg(ServiceRegistrar proxy,
ServiceItem item)
addProxy
public boolean addProxy(ServiceRegistrar proxy,
ServiceItem item)
removeProxy
public ServiceItem removeProxy(ServiceRegistrar proxy)
hasNoProxys
public boolean hasNoProxys()
setDiscarded
public void setDiscarded(boolean b)
isDiscarded
public boolean isDiscarded()
Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.