Java Code Examples for io.vlingo.actors.World#stage()

The following examples show how to use io.vlingo.actors.World#stage() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ProductResource.java    From vlingo-examples with Mozilla Public License 2.0 4 votes vote down vote up
public ProductResource(final World world) {
    this.stage = world.stage();
    this.addressFactory = new GridAddressFactory(IdentityGeneratorType.RANDOM);
}
 
Example 2
Source File: ExchangeBootstrap.java    From vlingo-examples with Mozilla Public License 2.0 4 votes vote down vote up
public ExchangeBootstrap(final World world) throws Exception {
    stage = world.stage();
}
 
Example 3
Source File: ProfileResource.java    From vlingo-examples with Mozilla Public License 2.0 4 votes vote down vote up
public ProfileResource(final World world) {
  this.addressFactory = world.addressFactory();
  this.stage = world.stage();
  this.queries = QueryModelStoreProvider.instance().queries;
}
 
Example 4
Source File: UserResource.java    From vlingo-examples with Mozilla Public License 2.0 4 votes vote down vote up
public UserResource(final World world) {
  this.addressFactory = world.addressFactory();
  this.stage = world.stage();
  this.queries = QueryModelStoreProvider.instance().queries;
}
 
Example 5
Source File: OrderResource.java    From vlingo-examples with Mozilla Public License 2.0 4 votes vote down vote up
public OrderResource(final World world) {
    this.addressFactory = world.addressFactory();
    this.stage = world.stage();
}
 
Example 6
Source File: ExchangeBootstrap.java    From vlingo-examples with Mozilla Public License 2.0 4 votes vote down vote up
public ExchangeBootstrap(final World world) {
  stage = world.stage();
}