mirror of
https://github.com/lightbend/config.git
synced 2025-02-23 09:41:01 +08:00
make clear in docs that ConfigIncludeContext should not be implemented by apps
This commit is contained in:
parent
5e7b929b65
commit
ce352691ff
@ -8,6 +8,13 @@ package com.typesafe.config;
|
||||
* Context provided to a {@link ConfigIncluder}; this interface is only useful
|
||||
* inside a {@code ConfigIncluder} implementation, and is not intended for apps
|
||||
* to implement.
|
||||
*
|
||||
* <p>
|
||||
* <em>Do not implement this interface</em>; it should only be implemented by
|
||||
* the config library. Arbitrary implementations will not work because the
|
||||
* library internals assume a specific concrete implementation. Also, this
|
||||
* interface is likely to grow new methods over time, so third-party
|
||||
* implementations will break.
|
||||
*/
|
||||
public interface ConfigIncludeContext {
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user