public String getBrokerImpl() {
return brokerPlugin.getString();
}
public BrokerImpl newBrokerInstance(String user, String pass) {
BrokerImpl broker =
(BrokerImpl) brokerPlugin.instantiate(BrokerImpl.class, this);
if (broker != null)
broker.setAuthentication(user, pass);
return broker;
}