|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.ws.rs.core.Application
org.apache.wink.common.WinkApplication
com.unboundid.scim.wink.SCIMApplication
public class SCIMApplication
This class is a JAX-RS Application that returns the SCIM resource implementations.
| Field Summary |
|---|
| Fields inherited from class org.apache.wink.common.WinkApplication |
|---|
DEFAULT_PRIORITY, SYSTEM_PRIORITY |
| Constructor Summary | |
|---|---|
SCIMApplication(Collection<ResourceDescriptor> resourceDescriptors,
SCIMBackend backend)
Create a new SCIMApplication that defines the endpoints provided by the ResourceDescriptors and uses the provided backend to process the request. |
|
| Method Summary | |
|---|---|
void |
acquireBulkRequestPermit()
Attempt to acquire a permit to process a bulk request. |
Map<String,ResourceDescriptor> |
getDescriptors()
Retrieve the resource descriptors keyed by name of endpoint. |
Set<Object> |
getInstances()
|
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. |
| Methods inherited from class org.apache.wink.common.WinkApplication |
|---|
getClasses, getPriority |
| Methods inherited from class javax.ws.rs.core.Application |
|---|
getSingletons |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SCIMApplication(Collection<ResourceDescriptor> resourceDescriptors,
SCIMBackend backend)
resourceDescriptors - The ResourceDescriptors to serve.backend - The backend that should be used to process the requests.| Method Detail |
|---|
public Set<Object> getInstances()
getInstances in class org.apache.wink.common.WinkApplicationpublic Collection<ResourceStats> getResourceStats()
public ResourceStats getStatsForResource(String resourceName)
resourceName - The name of the resource.
public ServiceProviderConfig getServiceProviderConfig()
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 Map<String,ResourceDescriptor> getDescriptors()
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()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||