public final class ServerRequestBroker extends Object
Copyright (c) SAP AG 2002-2004
Modifier and Type | Method and Description |
---|---|
IHierarchicalUri |
getBase()
Get the base uri handled by this broker
|
static ServerRequestBroker |
getInstance(IHierarchicalUri base,
Properties config,
IServerInfo server)
Get a ServerRequestBroker for use against the server, given configuration properties
and base uri.
|
static ServerRequestBroker |
getInstance(IHierarchicalUri base,
ServerRequestBroker template) |
IProxyInfo |
getProxyInfo()
Get the proxy information used by this broker
|
static IProxyInfo |
getProxyInfo(IHierarchicalUri base,
Properties config) |
IRequester |
getRequester(IResourceContext context)
Get a IWDRequester suitable for this server and the given resource
context.
|
IServerInfo |
getServerInfo()
Return IServerInfo this broker works with.
|
IContext |
mapContext(IResourceContext rcontext)
Get a IWDContext suitable for the given IResourceContext.
|
boolean |
needsRegeneration()
Return if this broker is out of synch with the configuration and
needs to be regenerated.
|
void |
shutdown() |
public static ServerRequestBroker getInstance(IHierarchicalUri base, Properties config, IServerInfo server) throws ResourceException
base
- uri of serverconfig
- configuration propertiesserver
- to work against (maybe null
)ResourceException
- on configuration errorspublic static ServerRequestBroker getInstance(IHierarchicalUri base, ServerRequestBroker template) throws ResourceException
ResourceException
public IRequester getRequester(IResourceContext context) throws ResourceException
context
- request should work inResourceException
- no descriptionpublic IContext mapContext(IResourceContext rcontext)
rcontext
- with IUSerpublic IServerInfo getServerInfo()
null
if no such info is set.public IHierarchicalUri getBase()
public IProxyInfo getProxyInfo()
public boolean needsRegeneration()
public void shutdown() throws ResourceException
ResourceException
public static IProxyInfo getProxyInfo(IHierarchicalUri base, Properties config)
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice