org.mobicents.media.server.mgcp.pkg
Class PackageFactory

java.lang.Object
  extended by org.mobicents.media.server.mgcp.pkg.PackageFactory

public class PackageFactory
extends Object

Package factory reads external XML descriptor which provides information required for construction signal executors and event detectors.

Author:
kulikov

Constructor Summary
PackageFactory(Node node)
          Loads MGCP package definitions and constructs signal executors.
 
Method Summary
 MgcpPackage getPackage(String name)
          Constructs the new package instance.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PackageFactory

public PackageFactory(Node node)
Loads MGCP package definitions and constructs signal executors.

Parameters:
node - the node of the configuration.
Method Detail

getPackage

public MgcpPackage getPackage(String name)
                       throws Exception
Constructs the new package instance.

Parameters:
name - the name of the package to be returned.
Returns:
the package.
Throws:
Exception


Copyright © 2012 TeleStax, Inc.. All Rights Reserved.