org.jvoicexml.implementation.jsapi10.jvxml
Class RtpTelephonyFactory

java.lang.Object
  extended by org.jvoicexml.implementation.jsapi10.jvxml.RtpTelephonyFactory
All Implemented Interfaces:
ResourceFactory<Telephony>

public final class RtpTelephonyFactory
extends Object
implements ResourceFactory<Telephony>

Factory for the RtpTelephony resources.

Since:
0.6

Copyright © 2008 JVoiceXML group - http://jvoicexml.sourceforge.net/

Version:
$Revision: 2355 $
Author:
Dirk Schnelle

Constructor Summary
RtpTelephonyFactory()
           
 
Method Summary
 Telephony createResource()
          
 int getInstances()
          
 Class<Telephony> getResourceType()
          
 String getType()
          
 void setInstances(int number)
          Sets the number of instances that this factory will create.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RtpTelephonyFactory

public RtpTelephonyFactory()
Method Detail

createResource

public Telephony createResource()
                         throws NoresourceError

Specified by:
createResource in interface ResourceFactory<Telephony>
Throws:
NoresourceError

setInstances

public void setInstances(int number)
Sets the number of instances that this factory will create.

Parameters:
number - Number of instances to create.

getInstances

public int getInstances()

Specified by:
getInstances in interface ResourceFactory<Telephony>

getType

public String getType()

Specified by:
getType in interface ResourceFactory<Telephony>

getResourceType

public Class<Telephony> getResourceType()

Specified by:
getResourceType in interface ResourceFactory<Telephony>


Copyright © 2005-2009JVoiceXML group.