Package org.goplanit.service.routed
Class RoutedServiceFactory
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<RoutedService>
-
- org.goplanit.service.routed.RoutedServiceFactory
-
- All Implemented Interfaces:
ManagedIdEntityFactory<RoutedService>
public class RoutedServiceFactory extends ManagedIdEntityFactoryImpl<RoutedService>
Factory for creating routed service instances on underlying container- Author:
- markr
-
-
Field Summary
Fields Modifier and Type Field Description protected RoutedModeServices
routedModeServices
container to use-
Fields inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
groupIdToken
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
RoutedServiceFactory(IdGroupingToken tokenId, RoutedModeServices routedModeServices)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RoutedServiceImpl
createNew()
Create a newly created instance without registering on the containerRoutedService
registerNew()
Register a newly created instance on the underlying container-
Methods inherited from class org.goplanit.utils.id.ManagedIdEntityFactoryImpl
createUniqueCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Field Detail
-
routedModeServices
protected final RoutedModeServices routedModeServices
container to use
-
-
Constructor Detail
-
RoutedServiceFactory
protected RoutedServiceFactory(IdGroupingToken tokenId, RoutedModeServices routedModeServices)
Constructor- Parameters:
tokenId
- to useroutedModeServices
- to use
-
-
Method Detail
-
createNew
protected RoutedServiceImpl createNew()
Create a newly created instance without registering on the container- Returns:
- created routed service
-
registerNew
public RoutedService registerNew()
Register a newly created instance on the underlying container- Returns:
- created instance
-
-