Class InternalServiceRegistration<KeyType,ObjectType,ServiceType>
- java.lang.Object
-
- tools.mdsd.somde.services.internal.InternalServiceRegistration<KeyType,ObjectType,ServiceType>
-
- All Implemented Interfaces:
NodeProducer<ServiceType>
,ServiceRegistrationFacade.OngoingRegistration<ServiceType,KeyType,ObjectType>
public class InternalServiceRegistration<KeyType,ObjectType,ServiceType> extends Object implements ServiceRegistrationFacade.OngoingRegistration<ServiceType,KeyType,ObjectType>, NodeProducer<ServiceType>
-
-
Constructor Summary
Constructors Constructor Description InternalServiceRegistration(Service.RegistrationType<ObjectType,KeyType> registrationType, InternalRegistrationFacade<ServiceType> internalFacade)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Node<T>
createNode(NodeFactory factory, Node<T> nestedNode)
ServiceRegistrationFacade.ParameterizedRegistration<ServiceType>
matches(KeyType key)
ServiceRegistrationFacade.OngoingRegistration<ServiceType,KeyType,ObjectType>
when(Service.ArgumentSelector<ObjectType> parameter)
-
-
-
Constructor Detail
-
InternalServiceRegistration
public InternalServiceRegistration(Service.RegistrationType<ObjectType,KeyType> registrationType, InternalRegistrationFacade<ServiceType> internalFacade)
-
-
Method Detail
-
when
public ServiceRegistrationFacade.OngoingRegistration<ServiceType,KeyType,ObjectType> when(Service.ArgumentSelector<ObjectType> parameter)
- Specified by:
when
in interfaceServiceRegistrationFacade.OngoingRegistration<KeyType,ObjectType,ServiceType>
-
matches
public ServiceRegistrationFacade.ParameterizedRegistration<ServiceType> matches(KeyType key)
- Specified by:
matches
in interfaceServiceRegistrationFacade.OngoingRegistration<KeyType,ObjectType,ServiceType>
-
createNode
public <T> Node<T> createNode(NodeFactory factory, Node<T> nestedNode)
- Specified by:
createNode
in interfaceNodeProducer<KeyType>
-
-