use of org.wildfly.transaction.client.provider.remoting.RemotingTransactionService in project wildfly by wildfly.
the class RemotingTransactionServiceService method start.
public void start(final StartContext context) throws StartException {
final RemotingTransactionService remotingTransactionService = RemotingTransactionService.builder().setEndpoint(endpointInjector.getValue()).setTransactionContext(localTransactionContextInjector.getValue()).build();
try {
registration = remotingTransactionService.register();
} catch (ServiceRegistrationException e) {
throw new StartException(e);
}
value = remotingTransactionService;
}
Aggregations