}
protected SubscriptionManager instantiateSubscriptionManager(TopicManager tm, PersistenceManager pm,
DeliveryManager dm) {
if (conf.isStandalone()) {
return new InMemorySubscriptionManager(conf, tm, pm, dm, scheduler);
} else {
return new MMSubscriptionManager(conf, mm, tm, pm, dm, scheduler);
}
}