Name
ModuleSpecID
Synopsis
A module specification ID embeds a module
class ID; together, these pieces of information identify an abstract
module. The peergroup service can use this identification to find a
concrete implementation of the module and create the service
represented by the module. Module specification IDs are created from
the IDFactory class by passing in a module class
ID.
public abstract class ModuleSpecID extends net.jxta.id.ID { // Public Constructors public ModuleSpecID(); // Public Instance Methods public abstract ModuleClassID getBaseClass(); public abstract boolean isOfSameBaseClass(ModuleSpecID id); public abstract boolean isOfSameBaseClass(ModuleClassID id); }
Passed To
net.jxta.peergroup.PeerGroup.loadModule(),
ModuleClassID.isOfSameBaseClass(),
ModuleSpecID.isOfSameBaseClass(),
net.jxta.protocol.ModuleImplAdvertisement.setModuleSpecID(),
net.jxta.protocol.ModuleSpecAdvertisement.{setAuthSpecID(),
setModuleSpecID(),
setProxySpecID()},
net.jxta.protocol.PeerGroupAdvertisement.setModuleSpecID()
Returned By
net.jxta.id.IDFactory.newModuleSpecID(),
net.jxta.id.IDFactory.Instantiator.newModuleSpecID(),
net.jxta.protocol.ModuleImplAdvertisement.getModuleSpecID(),
net.jxta.protocol.ModuleSpecAdvertisement.{getAuthSpecID(),
getModuleSpecID(),
getProxySpecID()},
net.jxta.protocol.PeerGroupAdvertisement.getModuleSpecID()
Type Of
net.jxta.peergroup.PeerGroup.{allPurposePeerGroupSpecID,
refDiscoverySpecID,
refEndpointSpecID,
refHttpProtoSpecID,
refMembershipSpecID,
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access