com.sun.jini.discovery.internal
Class BaseProvider

java.lang.Object
  extended by com.sun.jini.discovery.internal.BaseProvider
All Implemented Interfaces:
DiscoveryFormatProvider
Direct Known Subclasses:
EndpointBasedProvider, X500Provider

public class BaseProvider
extends Object
implements DiscoveryFormatProvider

Base superclass for discovery format provider implementations.


Field Summary
protected  String formatName
          The format name.
 
Constructor Summary
protected BaseProvider(String formatName)
          Constructs instance with the given format name.
 
Method Summary
 String getFormatName()
          Returns the name of the format implemented by this provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

formatName

protected final String formatName
The format name.

Constructor Detail

BaseProvider

protected BaseProvider(String formatName)
Constructs instance with the given format name.

Method Detail

getFormatName

public String getFormatName()
Description copied from interface: DiscoveryFormatProvider
Returns the name of the format implemented by this provider.

Specified by:
getFormatName in interface DiscoveryFormatProvider
Returns:
the name of the format implemented by this provider


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.