120121122123124125126127128
public synchronized void setMigrationService(MigrationService migrationService) { if (migrationService == null) { migrationService = new InMemoryMigrationService(); } this.migrationService = migrationService; }
48495051525354
public InMemoryConsumerRegistry() { initConsumers(null); setFederatingPortletInvoker(new FederatingPortletInvokerService()); setMigrationService(new InMemoryMigrationService()); }
128129130131132133134135136
37383940414243
public class InMemoryConsumerRegistry extends AbstractConsumerRegistry { public InMemoryConsumerRegistry() { setFederatingPortletInvoker(new FederatingPortletInvokerService()); setMigrationService(new InMemoryMigrationService()); }
144145146147148149150
private Set supportedUserScopes = WSRP_DEFAULT_USER_SCOPE; // todo: make it possible to support different user scopes private transient boolean started; public WSRPConsumerImpl() { this(new ProducerInfo(), new InMemoryMigrationService()); }