@Test public void factoryServiceRemotePost() throws Throwable { long count = 100; URI factoryUri = this.host.startServiceAndWait( MinimalFactoryTestService.class, UUID.randomUUID().toString()) .getUri(); EnumSet<TestProperty> props = EnumSet.of(TestProperty.FORCE_REMOTE); doFactoryServiceChildCreation(props, count, factoryUri); }
@Override public URI getUri() { if (this.uri == null) { this.uri = super.getUri(); } return this.uri; }
FactoryService extends StatelessService { @Override public URI getUri() { if (this.uri == null) { this.uri = super.getUri(); } return this.uri; } }
FactoryService extends StatelessService { @Override public URI getUri() { if (this.uri == null) { this.uri = super.getUri(); } return this.uri; } FactoryService(Class<? extends ServiceDocument> childServiceDocumentType); }
FactoryService extends StatelessService { @Override public URI getUri() { if (this.uri == null) { this.uri = super.getUri(); } return this.uri; } FactoryService(Class<? extends ServiceDocument> childServiceDocumentType); static FactoryService create(Class<? extends Service> childServiceType,
            ServiceOption... options); static FactoryService create(Class<? extends Service> childServiceType,
            Class<? extends ServiceDocument> childServiceDocumentType, ServiceOption... options); static FactoryService createIdempotent(Class<? extends Service> childServiceType); static FactoryService createIdempotent(Class<? extends Service> childServiceType,
            Class<? extends ServiceDocument> childServiceDocumentType); void setSelfQueryResultLimit(int limit); int getSelfQueryResultLimit(); void setUseBodyForSelfLink(boolean useBody); boolean hasChildOption(ServiceOption option); @Override void handleStart(Operation startPost); @Override void authorizeRequest(Operation op); @Override void handleRequest(Operation op); @Override void handleRequest(Operation op, OperationProcessingStage opProcessingStage); @Override void handleStop(Operation op); @Override void handleGet(Operation get); void completeGetWithQuery(Operation op, EnumSet<ServiceOption> caps); @Override void handleOptions(Operation op); @Override void handlePost(Operation op); @Override void toggleOption(ServiceOption option, boolean enable); @Override String getPeerNodeSelectorPath(); @Override void setPeerNodeSelectorPath(String link); @Override URI getUri(); @Override ServiceDocument getDocumentTemplate(); @Override void handleConfigurationRequest(Operation request); @Override void handleNodeGroupMaintenance(Operation maintOp); abstract Service createServiceInstance(); }
FactoryService extends StatelessService { @Override public URI getUri() { if (this.uri == null) { this.uri = super.getUri(); } return this.uri; } FactoryService(Class<? extends ServiceDocument> childServiceDocumentType); static FactoryService create(Class<? extends Service> childServiceType,
            ServiceOption... options); static FactoryService create(Class<? extends Service> childServiceType,
            Class<? extends ServiceDocument> childServiceDocumentType, ServiceOption... options); static FactoryService createIdempotent(Class<? extends Service> childServiceType); static FactoryService createIdempotent(Class<? extends Service> childServiceType,
            Class<? extends ServiceDocument> childServiceDocumentType); void setSelfQueryResultLimit(int limit); int getSelfQueryResultLimit(); void setUseBodyForSelfLink(boolean useBody); boolean hasChildOption(ServiceOption option); @Override void handleStart(Operation startPost); @Override void authorizeRequest(Operation op); @Override void handleRequest(Operation op); @Override void handleRequest(Operation op, OperationProcessingStage opProcessingStage); @Override void handleStop(Operation op); @Override void handleGet(Operation get); void completeGetWithQuery(Operation op, EnumSet<ServiceOption> caps); @Override void handleOptions(Operation op); @Override void handlePost(Operation op); @Override void toggleOption(ServiceOption option, boolean enable); @Override String getPeerNodeSelectorPath(); @Override void setPeerNodeSelectorPath(String link); @Override URI getUri(); @Override ServiceDocument getDocumentTemplate(); @Override void handleConfigurationRequest(Operation request); @Override void handleNodeGroupMaintenance(Operation maintOp); abstract Service createServiceInstance(); static final String PROPERTY_NAME_MAX_SYNCH_RETRY_COUNT; static final int MAX_SYNCH_RETRY_COUNT; static final Integer SELF_QUERY_RESULT_LIMIT; }