public enum Chassis extends Enum<Chassis>
| Modifier and Type | Method and Description |
|---|---|
static <A> Asset |
acquireAsset(Class<A> assetClass,
RequestContext context) |
static Asset |
acquireAsset(RequestContext context) |
static <A> Asset |
acquireAsset(String name,
Class<A> assetClass,
Class class1,
Class class2) |
static <K,V> MapView<K,V,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 <S> S |
acquireService(String uri,
Class<S> serviceClass) |
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 <L> void |
addLeafRule(Class<L> viewType,
String description,
LeafViewFactory<L> factory) |
static <W,U> void |
addWrappingRule(Class<W> wClass,
String description,
WrappingViewFactory<W,U> factory,
Class<U> uClass) |
static void |
close() |
static AssetTree |
defaultSession() |
static void |
enableTranslatingValuesToBytesStore() |
static Asset |
getAsset(String name) |
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,
Subscriber<E> subscriber) |
static <T,E> void |
unregisterTopicSubscriber(String name,
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 AssetTree defaultSession()
@NotNull public static <E> Set<E> acquireSet(String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull public static <K,V> MapView<K,V,V> acquireMap(String name, Class<K> kClass, Class<V> vClass) throws AssetNotFoundException
AssetNotFoundException@NotNull public static <E> Reference<E> acquireReference(String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull public static <E> Publisher<E> acquirePublisher(String name, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull public static <T,E> TopicPublisher<T,E> acquireTopicPublisher(String name, Class<T> tClass, Class<E> eClass) throws AssetNotFoundException
AssetNotFoundException@NotNull public static <A> Asset acquireAsset(Class<A> assetClass, RequestContext context) throws AssetNotFoundException
AssetNotFoundException@NotNull public static Asset acquireAsset(@NotNull RequestContext context) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <E> void registerSubscriber(String name, Class<E> eClass, Subscriber<E> subscriber) throws AssetNotFoundException
AssetNotFoundExceptionpublic static <E> void unregisterSubscriber(String name, 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, TopicSubscriber<T,E> subscriber)
public static <W,U> void addWrappingRule(Class<W> wClass, String description, WrappingViewFactory<W,U> factory, Class<U> uClass)
public static <L> void addLeafRule(Class<L> viewType, String description, LeafViewFactory<L> factory)
public static void enableTranslatingValuesToBytesStore()
@NotNull public static <A> Asset acquireAsset(@NotNull String name, Class<A> assetClass, Class class1, Class class2)
public static void close()
Copyright © 2015. All rights reserved.