io.sarl.sre.janus.internal
Class Factories
@javax.inject.Singleton
class Factories
extends java.lang.Object
Central access to several factories that are injected.
Maven Group Identifier:
io.sarl.sre.janus
Maven Artifact Identifier:
janus.kernel
Since:
0.12
Property Summary
Modifier and type Property and description
ConcurrentCollectionFactory concurrentCollectionFactory
Replies the factory of concurrent collections.
Constructor Summary
Action Summary
Modifier and type Action and description
ConcurrentCollectionFactory getConcurrentCollectionFactory
Replies the factory of concurrent collections.
SmartListenerCollection<T> newListenerCollection
Replies a new listener collections.
java.util.concurrent.locks.Lock newLock
Replies the provider of locks.
java.util.concurrent.locks.ReadWriteLock newReadWriteLock
Replies the provider of read-write locks.
Property Details
concurrentCollectionFactory
val concurrentCollectionFactory : ConcurrentCollectionFactory
Replies the factory of concurrent collections.

This property is an alias for the action: getConcurrentCollectionFactory

Constructor Details
new(Provider<T>,Provider<T>,Provider<T>,Provider<T>)
new(Provider<T>,Provider<T>,Provider<T>,Provider<T>)
Action Details
getConcurrentCollectionFactory
def getConcurrentCollectionFactory : ConcurrentCollectionFactory
Replies the factory of concurrent collections.
newListenerCollection
def newListenerCollection : SmartListenerCollection<T>

with T extends java.util.EventListener

Replies a new listener collections.
newLock
def newLock : java.util.concurrent.locks.Lock
Replies the provider of locks.
newReadWriteLock
def newReadWriteLock : java.util.concurrent.locks.ReadWriteLock
Replies the provider of read-write locks.