Package org.goplanit.service.routed
Class RoutedServiceFactoryImpl
- java.lang.Object
-
- org.goplanit.utils.id.ManagedIdEntityFactoryImpl<RoutedService>
-
- org.goplanit.service.routed.RoutedServiceFactoryImpl
-
- All Implemented Interfaces:
ManagedIdEntityFactory<RoutedService>
,RoutedServiceFactory
public class RoutedServiceFactoryImpl extends ManagedIdEntityFactoryImpl<RoutedService> implements RoutedServiceFactory
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
RoutedServiceFactoryImpl(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
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.goplanit.utils.id.ManagedIdEntityFactory
createUniqueDeepCopyOf, createUniqueShallowCopyOf, getIdGroupingToken, setIdGroupingToken
-
-
-
-
Field Detail
-
routedModeServices
protected final RoutedModeServices routedModeServices
container to use
-
-
Constructor Detail
-
RoutedServiceFactoryImpl
protected RoutedServiceFactoryImpl(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- Specified by:
registerNew
in interfaceRoutedServiceFactory
- Returns:
- created instance
-
-