Class RoutedTripFactory<T extends RoutedTrip>

    • Constructor Detail

      • RoutedTripFactory

        protected RoutedTripFactory​(IdGroupingToken tokenId,
                                    RoutedTrips<T> routedTrips)
        Constructor
        Parameters:
        tokenId - to use
        routedTrips - to use
    • Method Detail

      • createNew

        protected abstract T createNew()
        Create a newly created instance without registering on the container
        Returns:
        created routed trip instance
      • registerNew

        public T registerNew()
        Register a newly created instance on the underlying container
        Returns:
        created instance