org.jvoicexml.implementation.jtapi
Class JtapiTelephonyFactory

java.lang.Object
  extended by org.jvoicexml.implementation.jtapi.JtapiTelephonyFactory
All Implemented Interfaces:
ResourceFactory<Telephony>

public final class JtapiTelephonyFactory
extends Object
implements ResourceFactory<Telephony>

Demo implementation of a ResourceFactory for the Telephony based on JTAPI 1.3.1.

Since:
0.6
Version:
$Revision: 2355 $
Author:
Dirk Schnelle-Walka

Constructor Summary
JtapiTelephonyFactory()
          Constructs a new object.
 
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

JtapiTelephonyFactory

public JtapiTelephonyFactory()
Constructs a new object.

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.