public class RestConfiguration extends GenericService
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string
|
SERVICE_INFO_KEYDEFAULT_LOG_TRACE_STATUSDEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS| Constructor and Description |
|---|
RestConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
ComponentResolver |
getDefaultComponentResolver()
Returns the default ComponentResolver
|
RestInputCustomizer |
getDefaultInputCustomizer()
Returns the default rest input customizer
|
RestOutputCustomizer |
getDefaultOutputCustomizer()
Returns the default rest output customizer
|
FilteringManager |
getFilteringManager() |
ServiceMap |
getInputCustomizers()
Returns a Map of all input customizers
|
int |
getMaxDepthAllowed()
Property which defines what the maximum allowable value for the depth is.
|
ServiceMap |
getOutputCustomizers()
Returns a map of all output customizers
|
static RestConfiguration |
getRestConfiguration()
Return an instance of this class
|
RestSecurityManager |
getRestSecurityManager()
Returns the RestSecurityManager
|
javax.transaction.TransactionManager |
getTransactionManager() |
void |
setDefaultComponentResolver(ComponentResolver pDefaultComponentResolver)
Sets the default ComponentResolver
|
void |
setDefaultInputCustomizer(RestInputCustomizer pDefaultInputCustomizer)
Sets the default input customizer
|
void |
setDefaultOutputCustomizer(RestOutputCustomizer pDefaultOutputCustomizer)
Set the default rest output customizer.
|
void |
setFilteringManager(FilteringManager pFilteringManager) |
void |
setInputCustomizers(ServiceMap pInputCustomizers)
Sets the Map of input customizers
|
void |
setMaxDepthAllowed(int pMaxDepthAllowed) |
void |
setOutputCustomizers(ServiceMap pOutputCustomizers)
Sets the map of outputCustomizers
|
void |
setRestSecurityManager(RestSecurityManager pRestSecurityManager)
Sets the RestSecurityManager
|
void |
setTransactionManager(javax.transaction.TransactionManager pTransactionManager) |
addLogListener, createAdminServlet, doStartService, doStopService, getAbsoluteName, getAdminServlet, getAdminServletOutputStreamEncoding, getLoggingForVlogging, getLogListenerCount, getLogListeners, getName, getNameContext, getNucleus, getRoot, getServiceConfiguration, getServiceInfo, isAdminServletUseServletOutputStream, isLoggingDebug, isLoggingError, isLoggingInfo, isLoggingTrace, isLoggingWarning, isRunning, logDebug, logDebug, logDebug, logError, logError, logError, logInfo, logInfo, logInfo, logTrace, logTrace, logTrace, logWarning, logWarning, logWarning, nameContextElementBound, nameContextElementUnbound, removeLogListener, reResolveThis, resolveName, resolveName, resolveName, resolveName, sendLogEvent, setAdminServletOutputStreamEncoding, setAdminServletUseServletOutputStream, setLoggingDebug, setLoggingError, setLoggingInfo, setLoggingTrace, setLoggingWarning, setNucleus, setServiceInfo, startService, stopServicevlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogDebugTrace, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarningpublic static RestConfiguration getRestConfiguration()
public RestOutputCustomizer getDefaultOutputCustomizer()
public void setDefaultOutputCustomizer(RestOutputCustomizer pDefaultOutputCustomizer)
pDefaultOutputCustomizer - the default output customizer to setpublic ServiceMap getOutputCustomizers()
public void setOutputCustomizers(ServiceMap pOutputCustomizers)
pOutputCustomizers - the outputCustomizers to setpublic RestInputCustomizer getDefaultInputCustomizer()
public void setDefaultInputCustomizer(RestInputCustomizer pDefaultInputCustomizer)
pDefaultInputCustomizer - the defaultInputCustomizer to setpublic ServiceMap getInputCustomizers()
public void setInputCustomizers(ServiceMap pInputCustomizers)
pInputCustomizers - the inputCustomizers to setpublic ComponentResolver getDefaultComponentResolver()
public void setDefaultComponentResolver(ComponentResolver pDefaultComponentResolver)
pDefaultComponentResolver - the defaultComponentResolver to setpublic javax.transaction.TransactionManager getTransactionManager()
public void setTransactionManager(javax.transaction.TransactionManager pTransactionManager)
pTransactionManager - sets the transactionManagerpublic FilteringManager getFilteringManager()
public void setFilteringManager(FilteringManager pFilteringManager)
pFilteringManager - sets the filteringManagerpublic int getMaxDepthAllowed()
public void setMaxDepthAllowed(int pMaxDepthAllowed)
pMaxDepthAllowed - the value of maxDepthAllowed to setpublic RestSecurityManager getRestSecurityManager()
public void setRestSecurityManager(RestSecurityManager pRestSecurityManager)
pRestSecurityManager - the RestSecurityManager to set