|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jvoicexml.implementation.jtapi.JtapiTelephonyFactory
public final class JtapiTelephonyFactory
Demo implementation of a
ResourceFactory for the
Telephony based on JTAPI 1.3.1.
| 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 |
|---|
public JtapiTelephonyFactory()
| Method Detail |
|---|
public Telephony createResource()
throws NoresourceError
createResource in interface ResourceFactory<Telephony>NoresourceErrorpublic void setInstances(int number)
number - Number of instances to create.public int getInstances()
getInstances in interface ResourceFactory<Telephony>public String getType()
getType in interface ResourceFactory<Telephony>public Class<Telephony> getResourceType()
getResourceType in interface ResourceFactory<Telephony>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||