Package io.tesler.core.crudma.bc.impl
Class BcRegistryImpl
- java.lang.Object
-
- io.tesler.core.crudma.bc.impl.BcRegistryImpl
-
- All Implemented Interfaces:
BcRegistry
@DependsOn("deploymentTransactionSupport") @Service public class BcRegistryImpl extends Object implements BcRegistry
-
-
Constructor Summary
Constructors Constructor Description BcRegistryImpl(Optional<List<BcSupplier>> bcSuppliers, Optional<List<BcOverrider>> bcOverriders)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<String>
getAllBcNames()
BcDescription
getBcDescription(String bcName)
List<BcDescription>
getBcHierarchy(String bcName)
String
getUrlFromBc(String bcName)
void
refresh()
<T> Stream<T>
select(Predicate<BcDescription> predicate, Function<BcDescription,T> transformer)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.tesler.core.crudma.bc.BcRegistry
select, select
-
-
-
-
Constructor Detail
-
BcRegistryImpl
public BcRegistryImpl(Optional<List<BcSupplier>> bcSuppliers, Optional<List<BcOverrider>> bcOverriders)
-
-
Method Detail
-
refresh
public void refresh()
- Specified by:
refresh
in interfaceBcRegistry
-
select
public <T> Stream<T> select(Predicate<BcDescription> predicate, Function<BcDescription,T> transformer)
- Specified by:
select
in interfaceBcRegistry
-
getAllBcNames
public Collection<String> getAllBcNames()
- Specified by:
getAllBcNames
in interfaceBcRegistry
-
getBcDescription
public BcDescription getBcDescription(String bcName)
- Specified by:
getBcDescription
in interfaceBcRegistry
-
getUrlFromBc
public String getUrlFromBc(String bcName)
- Specified by:
getUrlFromBc
in interfaceBcRegistry
-
getBcHierarchy
public List<BcDescription> getBcHierarchy(String bcName)
- Specified by:
getBcHierarchy
in interfaceBcRegistry
-
-