[java] plugin management by reflection