Package org.wildfly.clustering.ejb
Interface BeanManager<I,T,B extends Batch>
-
- Type Parameters:
I- the bean identifier typeT- the bean instance type
- All Superinterfaces:
AffinitySupport<I>,BeanManagerStatistics,Restartable
public interface BeanManager<I,T,B extends Batch> extends Restartable, AffinitySupport<I>, BeanManagerStatistics
A SPI for managing beans.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancontainsBean(I id)Bean<I,T>createBean(I id, I group, T bean)Bean<I,T>findBean(I id)Batcher<B>getBatcher()Supplier<I>getIdentifierFactory()booleanisRemotable(Throwable throwable)-
Methods inherited from interface org.wildfly.clustering.ejb.AffinitySupport
getStrictAffinity, getWeakAffinity
-
Methods inherited from interface org.wildfly.clustering.ejb.BeanManagerStatistics
getActiveCount, getPassiveCount
-
Methods inherited from interface org.wildfly.clustering.ee.Restartable
start, stop
-
-
-
-
Method Detail
-
findBean
Bean<I,T> findBean(I id) throws TimeoutException
- Throws:
TimeoutException
-
containsBean
boolean containsBean(I id)
-
isRemotable
boolean isRemotable(Throwable throwable)
-
-