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