public enum Chassis extends Enum<Chassis>
| Modifier and Type | Method and Description |
|---|---|
static <A> Asset |
acquireAsset(String name,
Class<A> assetClass,
Class class1,
Class class2) |
static <K,V> ConcurrentMap<K,V> |
acquireMap(String name,
Class<K> kClass,
Class<V> vClass) |
static <E> Publisher<E> |
acquirePublisher(String name,
Class<E> eClass) |
static <E> Reference<E> |
acquireReference(String name,
Class<E> eClass) |
static <E> Set<E> |
acquireSet(String name,
Class<E> eClass) |
static <T,E> TopicPublisher<T,E> |
acquireTopicPublisher(String name,
Class<T> tClass,
Class<E> eClass) |
static Asset |
addAsset(String name,
Assetted item) |
static Session |
defaultSession() |
static void |
defaultSession(Session session) |
static Asset |
getAsset(String name) |
static <E> void |
registerFactory(String name,
Class<E> eClass,
Factory<E> factory) |
static <E> void |
registerSubscriber(String name,
Class<E> eClass,
Subscriber<E> subscriber) |
static <T,E> void |
registerTopicSubscriber(String name,
Class<T> tClass,
Class<E> eClass,
TopicSubscriber<T,E> subscriber) |
static void |
resetChassis() |
static <E> void |
unregisterSubscriber(String name,
Class<E> eClass,
Subscriber<E> subscriber) |
static <T,E> void |
unregisterTopicSubscriber(String name,
Class<T> tClass,
Class<E> eClass,
TopicSubscriber<T,E> subscriber) |
static Chassis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Chassis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Chassis[] values()
for (Chassis c : Chassis.values()) System.out.println(c);
public static Chassis valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static void resetChassis()
public static void defaultSession(Session session)
public static Session defaultSession()
public static <E> Set<E> acquireSet(String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <K,V> ConcurrentMap<K,V> acquireMap(String name, Class<K> kClass, Class<V> vClass) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <E> Reference<E> acquireReference(String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <E> Publisher<E> acquirePublisher(String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <T,E> TopicPublisher<T,E> acquireTopicPublisher(String name, Class<T> tClass, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <E> void registerSubscriber(String name, Class<E> eClass, Subscriber<E> subscriber) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <E> void unregisterSubscriber(String name, Class<E> eClass, Subscriber<E> subscriber)
public static <T,E> void registerTopicSubscriber(String name, Class<T> tClass, Class<E> eClass, TopicSubscriber<T,E> subscriber) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <T,E> void unregisterTopicSubscriber(String name, Class<T> tClass, Class<E> eClass, TopicSubscriber<T,E> subscriber)
public static <E> void registerFactory(String name, Class<E> eClass, Factory<E> factory)
Copyright © 2015. All rights reserved.