Package tools.mdsd.somde.services.impl
Class AbstractServiceRegistrationFacadeImpl<ServiceType>
- java.lang.Object
-
- tools.mdsd.somde.services.impl.AbstractServiceRegistrationFacadeImpl<ServiceType>
-
- All Implemented Interfaces:
InternalRegistrationFacade<ServiceType>
,ServiceRegistrationFacade<ServiceType>
- Direct Known Subclasses:
NestedServiceRegistrationFacadeImpl
,RootNodeServiceRegistrationFacadeImpl
public abstract class AbstractServiceRegistrationFacadeImpl<ServiceType> extends Object implements ServiceRegistrationFacade<ServiceType>, InternalRegistrationFacade<ServiceType>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface tools.mdsd.somde.services.internal.InternalRegistrationFacade
InternalRegistrationFacade.InternalRegistrationFacadeFactory
-
Nested classes/interfaces inherited from interface tools.mdsd.somde.services.ServiceRegistrationFacade
ServiceRegistrationFacade.OngoingRegistration<ServiceType,KeyType,ObjectType>, ServiceRegistrationFacade.ParameterizedRegistration<ServiceType>
-
-
Field Summary
Fields Modifier and Type Field Description protected NodeFactory
nodeFactory
-
Constructor Summary
Constructors Constructor Description AbstractServiceRegistrationFacadeImpl(NodeFactory nodeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServiceRegistrationFacade<ServiceType>
createFacade()
ServiceRegistrationFacade<ServiceType>
createNestedFacade(NodeProducer<ServiceType> enclosingProducer)
<KeyType,ObjectType>
ServiceRegistrationFacade.ParameterizedRegistration<ServiceType>createParameterizedRegistration(InternalServiceRegistration<KeyType,ObjectType,ServiceType> from)
<KEY,OBJ>
ServiceRegistrationFacade.OngoingRegistration<ServiceType,KEY,OBJ>using(Service.RegistrationType<OBJ,KEY> registrationType)
Starts a conditional registration.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tools.mdsd.somde.services.internal.InternalRegistrationFacade
accept, buildRegistry
-
-
-
-
Field Detail
-
nodeFactory
protected NodeFactory nodeFactory
-
-
Constructor Detail
-
AbstractServiceRegistrationFacadeImpl
public AbstractServiceRegistrationFacadeImpl(NodeFactory nodeFactory)
-
-
Method Detail
-
using
public <KEY,OBJ> ServiceRegistrationFacade.OngoingRegistration<ServiceType,KEY,OBJ> using(Service.RegistrationType<OBJ,KEY> registrationType)
Description copied from interface:ServiceRegistrationFacade
Starts a conditional registration.- Specified by:
using
in interfaceServiceRegistrationFacade<ServiceType>
- Parameters:
registrationType
- The RegistrationType which should be used to register the service with the service management.- Returns:
- A facade to continue the registration.
-
createParameterizedRegistration
public <KeyType,ObjectType> ServiceRegistrationFacade.ParameterizedRegistration<ServiceType> createParameterizedRegistration(InternalServiceRegistration<KeyType,ObjectType,ServiceType> from)
- Specified by:
createParameterizedRegistration
in interfaceInternalRegistrationFacade<ServiceType>
-
createFacade
public ServiceRegistrationFacade<ServiceType> createFacade()
- Specified by:
createFacade
in interfaceInternalRegistrationFacade<ServiceType>
-
createNestedFacade
public ServiceRegistrationFacade<ServiceType> createNestedFacade(NodeProducer<ServiceType> enclosingProducer)
- Specified by:
createNestedFacade
in interfaceInternalRegistrationFacade<ServiceType>
-
-