public ExampleODLService() { super(); super.toggleOption(ServiceOption.INSTRUMENTATION, false); } }
public ExampleImmutableService() { super(); super.toggleOption(ServiceOption.IMMUTABLE, true); super.toggleOption(ServiceOption.INSTRUMENTATION, false); } }
public ExampleService() { super(ExampleServiceState.class); toggleOption(ServiceOption.PERSISTENCE, true); toggleOption(ServiceOption.REPLICATION, true); toggleOption(ServiceOption.INSTRUMENTATION, true); toggleOption(ServiceOption.OWNER_SELECTION, true); }
public ImmutableExampleService() { super(); super.toggleOption(ServiceOption.IMMUTABLE, true); super.toggleOption(ServiceOption.INSTRUMENTATION, false); } }
public ImmutableExampleService() { super(); super.toggleOption(ServiceOption.IMMUTABLE, true); super.toggleOption(ServiceOption.INSTRUMENTATION, false); } }
public ExampleNonPersistedService() { super(); toggleOption(ServiceOption.PERSISTENCE, false); super.toggleOption(ServiceOption.INSTRUMENTATION, false); } }
public ImmutableExampleService() { super(); super.toggleOption(ServiceOption.IMMUTABLE, true); super.toggleOption(ServiceOption.INSTRUMENTATION, false); } }
@Override public Service createServiceInstance() throws Throwable { ExampleService s = new ExampleService(); s.toggleOption(ServiceOption.PERIODIC_MAINTENANCE, true); return s; } }
@Override public Service createServiceInstance() throws Throwable { ExampleService s = new ExampleService(); s.toggleOption(ServiceOption.PERIODIC_MAINTENANCE, true); return s; } }
@Override public Service createServiceInstance() throws Throwable { ExampleService s = new ExampleService(); s.toggleOption(ServiceOption.PERSISTENCE, false); super.toggleOption(ServiceOption.PERSISTENCE, false); return s; } }
@Override public Service createServiceInstance() throws Throwable { ExampleService s = new ExampleService(); s.toggleOption(ServiceOption.PERSISTENCE, false); super.toggleOption(ServiceOption.PERSISTENCE, false); return s; } }