public class DecoratorContext extends Object implements Context
Context.KeyData
Constructor and Description |
---|
DecoratorContext(Context base) |
Modifier and Type | Method and Description |
---|---|
Charset |
getCharset() |
DateTimeFormat |
getDateFormatter() |
Context.KeyData |
getKeyData() |
Protocol |
getProtocol() |
Registry |
getRegistry() |
Object |
getSetting(String name) |
<T> T |
getSetting(String name,
Class<T> type) |
<T> T |
getSetting(String name,
T defaultValue) |
DateTimeFormat |
getTimeFormatter() |
DateTimeFormat |
getTimestampFormatter() |
TimeZone |
getTimeZone() |
boolean |
isSettingEnabled(String name) |
Class<?> |
lookupInstanceType(Type type) |
void |
refreshRelationType(int relationId) |
void |
refreshType(int typeId) |
void |
reportNotification(int processId,
String channelName,
String payload) |
public DecoratorContext(Context base)
public Registry getRegistry()
getRegistry
in interface Context
public TimeZone getTimeZone()
getTimeZone
in interface Context
public Charset getCharset()
getCharset
in interface Context
public Context.KeyData getKeyData()
getKeyData
in interface Context
public DateTimeFormat getDateFormatter()
getDateFormatter
in interface Context
public DateTimeFormat getTimeFormatter()
getTimeFormatter
in interface Context
public DateTimeFormat getTimestampFormatter()
getTimestampFormatter
in interface Context
public Class<?> lookupInstanceType(Type type)
lookupInstanceType
in interface Context
public void refreshType(int typeId)
refreshType
in interface Context
public void refreshRelationType(int relationId)
refreshRelationType
in interface Context
public Object getSetting(String name)
getSetting
in interface Context
public <T> T getSetting(String name, Class<T> type)
getSetting
in interface Context
public <T> T getSetting(String name, T defaultValue)
getSetting
in interface Context
public boolean isSettingEnabled(String name)
isSettingEnabled
in interface Context
public Protocol getProtocol()
getProtocol
in interface Context
public void reportNotification(int processId, String channelName, String payload)
reportNotification
in interface Context
Copyright © 2013-2015 impossibl.com. All Rights Reserved.