org.mobicents.servlet.sip.router
Interface ManageableApplicationRouter


public interface ManageableApplicationRouter

This interface simply exposes methods to reconfigure an Application Router dynamically.


Method Summary
 void configure(java.lang.Object configuration)
          This method will completely reconfigure the application router and clean the previous state accumulated in the AR.
 java.lang.Object getCurrentConfiguration()
          This method will provide the configuration that is currently active in the AR.
 

Method Detail

configure

void configure(java.lang.Object configuration)
This method will completely reconfigure the application router and clean the previous state accumulated in the AR.

Parameters:
configuration - How the configuration variable will be interpreted is AR specific. For most cases a String should work just fine (dar file contents, xml files content, rule files, etc)

getCurrentConfiguration

java.lang.Object getCurrentConfiguration()
This method will provide the configuration that is currently active in the AR. It can be parsed and visualized by the management application.

Returns:
the current configuration (possibly a string)


Copyright © 2009. All Rights Reserved.