Interface ComponentModelDelegateRegistry
- 
- All Known Implementing Classes:
- ComponentModelDelegateRegistryImpl
 
 public interface ComponentModelDelegateRegistryA Registry forComponentModelDelegateFactories
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<ComponentModelDelegateFactory>find(java.lang.String typeId)Fetch theComponentModelDelegateFactoryregistered with the given typeIdstatic ComponentModelDelegateRegistryget(GatewayContext context)Static accessor for theComponentModelDelegateRegistryinstance contained by the provided contextvoidregister(java.lang.String componentTypeId, ComponentModelDelegateFactory factory)Register aComponentModelDelegateFactorywith its type IDvoidremove(java.lang.String componentTypeId)Removes the delegate registered with the id from the set of those registered.
 
- 
- 
- 
Method Detail- 
getstatic ComponentModelDelegateRegistry get(GatewayContext context) Static accessor for theComponentModelDelegateRegistryinstance contained by the provided context- Parameters:
- context- The current running- CommonContext
- Returns:
- The ComponentModelDelegateRegistryinstance
 
 - 
registervoid register(java.lang.String componentTypeId, ComponentModelDelegateFactory factory)Register aComponentModelDelegateFactorywith its type ID- Parameters:
- componentTypeId- The component type ID associated with the factory
- factory- The factory to register
 
 - 
findjava.util.Optional<ComponentModelDelegateFactory> find(@Nonnull java.lang.String typeId) Fetch theComponentModelDelegateFactoryregistered with the given typeId- Parameters:
- typeId- The component type ID
- Returns:
- An Optionalcontaining theComponentModelDelegateFactoryregistered with the given typeId or an empty Optional if no such factory is registered with the given type ID
 
 - 
removevoid remove(java.lang.String componentTypeId) Removes the delegate registered with the id from the set of those registered.- Parameters:
- componentTypeId- the id of the component type whose delegate should be removed from the registry.
 
 
- 
 
-