public class AgiMappingStragegy extends Object implements MappingStrategy
| Constructor and Description |
|---|
AgiMappingStragegy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addServiceAgiScript(Class<? extends ServiceAgiScript> handler)
this will be a pluggable extension system for the agi core, it's still a
work in progress and is not useable
|
AgiScript |
determineScript(AgiRequest request,
AgiChannel channel)
Returns the AgiScript instance that is responsible to handle
the given request.
|
public AgiScript determineScript(AgiRequest request, AgiChannel channel)
MappingStrategydetermineScript in interface MappingStrategyrequest - the request to lookup.channel - the channel.null if none could be determined by this strategy.public void addServiceAgiScript(Class<? extends ServiceAgiScript> handler) throws DuplicateScriptException, InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException
Copyright © 2004–2021. All rights reserved.