I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 8fcac04a authored by zzz's avatar zzz
Browse files

javadoc

parent 7d902cca
No related branches found
No related tags found
No related merge requests found
...@@ -155,6 +155,7 @@ public abstract class NamingService { ...@@ -155,6 +155,7 @@ public abstract class NamingService {
/** /**
* Only for chaining-capable NamingServices. Add to end of the list. * Only for chaining-capable NamingServices. Add to end of the list.
* @return success * @return success
* @since 0.8.7
*/ */
public boolean addNamingService(NamingService ns) { public boolean addNamingService(NamingService ns) {
return addNamingService(ns, false); return addNamingService(ns, false);
...@@ -165,6 +166,7 @@ public abstract class NamingService { ...@@ -165,6 +166,7 @@ public abstract class NamingService {
* Only for chaining-capable NamingServices * Only for chaining-capable NamingServices
* @param head or tail * @param head or tail
* @return success * @return success
* @since 0.8.7
*/ */
public boolean addNamingService(NamingService ns, boolean head) { public boolean addNamingService(NamingService ns, boolean head) {
return false; return false;
...@@ -446,6 +448,9 @@ public abstract class NamingService { ...@@ -446,6 +448,9 @@ public abstract class NamingService {
//// End New API //// End New API
/** /**
* WARNING - for use by I2PAppContext only - others must use
* I2PAppContext.namingService()
*
* Get a naming service instance. This method ensures that there * Get a naming service instance. This method ensures that there
* will be only one naming service instance (singleton) as well as * will be only one naming service instance (singleton) as well as
* choose the implementation from the "i2p.naming.impl" system * choose the implementation from the "i2p.naming.impl" system
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment