Esri Geoportal Server
1.0

com.esri.gpt.server.assertion
Class AsnFactory

java.lang.Object
  extended by com.esri.gpt.server.assertion.AsnFactory

public class AsnFactory
extends Object

Instantiates components associated with the execution of assertion operations.


Constructor Summary
AsnFactory()
          Default constructor
 
Method Summary
 AsnConfig getConfiguration()
          Gets the configuration.
 AsnOperationHandler makeOperationHandler(AsnContext context)
          Makes an operation handler suitable for the active assertion request.
 AsnRequestHandler makeRequestHandler(HttpServletRequest request, RequestContext requestContext)
          Makes an assertion request handler.
static AsnFactory newFactory(RequestContext requestContext)
          Instantiates a new assertion factory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AsnFactory

public AsnFactory()
Default constructor

Method Detail

getConfiguration

public AsnConfig getConfiguration()
Gets the configuration.

Returns:
the configuration

makeOperationHandler

public AsnOperationHandler makeOperationHandler(AsnContext context)
                                         throws Exception
Makes an operation handler suitable for the active assertion request.

Parameters:
context - the assertion operation context
Returns:
the operation handler
Throws:
Exception - if an exception occurs

makeRequestHandler

public AsnRequestHandler makeRequestHandler(HttpServletRequest request,
                                            RequestContext requestContext)
Makes an assertion request handler.

Parameters:
request - the HTTP servlet request
requestContext - the active request context
Returns:
the request handler

newFactory

public static AsnFactory newFactory(RequestContext requestContext)
Instantiates a new assertion factory.

By default, a new instance of com.esri.gpt.server.assertion.AsnFactory is returned.

This can be overridden by the configuration parameter: /gptConfig/catalog/parameter@key="assertion.AsnFactory"

Parameters:
requestContext - the active request context
Returns:
the factory

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.