|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ContactFactory
Allows contact sources to create
contact objects of user-defined classes. When
the Contact
class is extended to add user-defined
attributes, a contact factory must also be created
to allow contact sources to instantiate objects
derived from the Contact
subclass. To construct
a new contact factory, the user simply implements this interface
to provide a newInstance()
method the contact sources
call to get contacts.
Method Summary | |
---|---|
Contact |
newInstance()
Constructs and returns a new Contact object. |
Method Detail |
---|
Contact newInstance()
Contact
object.
If a contact cannot be instantiated, a
ContactInstantiationException
is thrown.
ContactInstantiationException
- if a contact cannot be instantiated.
|
ContactCenters V. 0.9.9. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |