Class OsgiUtils
- java.lang.Object
-
- org.opennms.netmgt.newts.support.osgi.OsgiUtils
-
public class OsgiUtils extends Object
Helper Class to make creation of objects easier when instantiating beans in OSGi.
-
-
Constructor Summary
Constructors Constructor Description OsgiUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T extends SearchableResourceMetadataCache>
TcreateCache(String cacheType, List<CacheFactory> factories)
static org.opennms.newts.api.Context
createContext()
static org.opennms.newts.cassandra.search.CassandraIndexingOptions
createIndexOptions(int maxBatchSize)
-
-
-
Method Detail
-
createContext
public static org.opennms.newts.api.Context createContext()
-
createIndexOptions
public static org.opennms.newts.cassandra.search.CassandraIndexingOptions createIndexOptions(int maxBatchSize)
-
createCache
public static <T extends SearchableResourceMetadataCache> T createCache(String cacheType, List<CacheFactory> factories)
-
-