public class SCIMApplication extends WinkApplication
| Constructor and Description |
|---|
SCIMApplication(SCIMBackend backend,
OAuthTokenHandler tokenHandler)
Create a new SCIMApplication that defines the endpoints provided by the
ResourceDescriptors and uses the provided backend to process the request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
acquireBulkRequestPermit()
Attempt to acquire a permit to process a bulk request.
|
SCIMBackend |
getBackend()
Retrieves the SCIMBackend used by this SCIMApplication.
|
Collection<ResourceStats> |
getResourceStats()
Retrieves the statistics for the resources being served by this
application instance.
|
ServiceProviderConfig |
getServiceProviderConfig()
Retrieve the service provider configuration.
|
ResourceStats |
getStatsForResource(String resourceName)
Retrieve the stats for a given resource.
|
File |
getTmpDataDir()
Return the directory that should be used to store temporary files, or
null for the system dependent default temporary-file
directory (specified by the system property java.io.tmpdir. |
void |
releaseBulkRequestPermit()
Release a permit to process a bulk request.
|
void |
setBulkMaxConcurrentRequests(int bulkMaxConcurrentRequests)
Specify the maximum number of concurrent bulk requests.
|
void |
setBulkMaxOperations(long bulkMaxOperations)
Specify the maximum number of operations permitted in a bulk request.
|
void |
setBulkMaxPayloadSize(long bulkMaxPayloadSize)
Specify the maximum payload size in bytes of a bulk request.
|
void |
setTmpDataDir(File tmpDataDir)
Return the directory that should be used to store temporary files, or
null for the system dependent default temporary-file
directory (specified by the system property java.io.tmpdir. |
addProperties, files, files, forApplication, forApplicationClass, forApplicationClass, getApplication, getApplicationName, getClasses, getClassLoader, getConfiguration, getContracts, getInstances, getProperties, getProperty, getPropertyNames, getResources, getRuntimeType, getSingletons, isEnabled, isEnabled, isProperty, isRegistered, isRegistered, packages, packages, property, register, register, register, register, register, register, register, register, registerClasses, registerClasses, registerFinder, registerInstances, registerInstances, registerResources, registerResources, setApplicationName, setClassLoader, setPropertiespublic SCIMApplication(SCIMBackend backend, OAuthTokenHandler tokenHandler)
backend - The backend that should be used to process the requests.tokenHandler - The OAuthTokenHandler implementation to use (this may
be null.public Collection<ResourceStats> getResourceStats()
public ResourceStats getStatsForResource(String resourceName)
resourceName - The name of the resource.public ServiceProviderConfig getServiceProviderConfig()
public SCIMBackend getBackend()
public void setBulkMaxOperations(long bulkMaxOperations)
bulkMaxOperations - The maximum number of operations permitted in a
bulk request.public void setBulkMaxPayloadSize(long bulkMaxPayloadSize)
bulkMaxPayloadSize - The maximum payload size in bytes of a bulk
request.public void setBulkMaxConcurrentRequests(int bulkMaxConcurrentRequests)
bulkMaxConcurrentRequests - The maximum number of concurrent bulk
requests.public File getTmpDataDir()
null for the system dependent default temporary-file
directory (specified by the system property java.io.tmpdir.null for the system dependent default temporary-file
directory.public void setTmpDataDir(File tmpDataDir)
null for the system dependent default temporary-file
directory (specified by the system property java.io.tmpdir.tmpDataDir - The directory that should be used to store temporary
files, or null for the system dependent default
temporary-file directory.public void acquireBulkRequestPermit() throws SCIMException
SCIMException - If a permit cannot be immediately obtained.public void releaseBulkRequestPermit()
Copyright © 2011–2016 UnboundID. All rights reserved.