def getParams(self, context):
		"""Returns extra parameters needed for collecting this datasource."""
		if not self.plugin_classname:
			return {}

		from ZenPacks.Eseye.ActiveMQ.services.ActiveMQConfig \
			import load_plugin_class

		plugin_class = load_plugin_class(self.plugin_classname)
		return plugin_class.params(self, context)
	def getConfigKey(self, context):
		"""Returns a tuple to be used to split configs at the collector."""
		if not self.plugin_classname:
			return [context.id]

		from ZenPacks.Eseye.ActiveMQCollector.services.ActiveMQConfig \
			import load_plugin_class

		plugin_class = load_plugin_class(self.plugin_classname)
		return plugin_class.config_key(self, context)