/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(entityManagerProvider, "The EntityManagerProvider is a hard requirement and should be provided"); assertNonNull(transactionManager, "The TransactionManager is a hard requirement and should be provided"); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(connectionProvider, "The ConnectionProvider is a hard requirement and should be provided"); assertNonNull(transactionManager, "The TransactionManager is a hard requirement and should be provided"); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(template, "The MongoTemplate is a hard requirement and should be provided"); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(entityManagerProvider, "The EntityManagerProvider is a hard requirement and should be provided"); assertNonNull(transactionManager, "The TransactionManager is a hard requirement and should be provided"); } }
/** * Validates whether the fields contained in this Builder are set accordingly. * * @throws AxonConfigurationException if one field is asserted to be incorrect according to the Builder's * specifications */ @Override protected void validate() throws AxonConfigurationException { super.validate(); assertNonNull(connectionProvider, "The ConnectionProvider is a hard requirement and should be provided"); assertNonNull(transactionManager, "The TransactionManager is a hard requirement and should be provided"); } }