On 23/08/16 15:45, Harsha Wardhana B wrote:
Hi Daniel,
The focus of this issue was to decouple hard-dependency between
java.management module and jdk.snmp module since jdk.snmp is not a core
module. There was not much focus on an 'Agent' Interface that could
allow plugging in any Agent. Hence there was no discussions around the
structure of such an interface.
OK - sun/management/spi/AgentProvider.java is a private
interface that only classes in the JDK can implement, and
is not designed to be extended outside of the JDK, so I
agree that what you have seems to be sufficient for the purpose
of decoupling. Because nothing outside of the JDK can implement
it then it can be revisited and amended later if we have other uses.
+1 if Mandy is OK :-)
cheers,
-- daniel