|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommunicationService
This interface represents the Service Foundation Toolkit (SFT) runtime for a particular application. An instance of this type is injected into a CommunicationBean
for each event. It can also be accessed by web applications from the HTTP session. Applications may use this interface to modify the runtime behavior of the SFT. It also serves as an application level service provider to the java classes.
CommunicationBean
, Communication
Field Summary | |
---|---|
static String |
NAME Name of the HTTP session attribute to retrieve an instance of CommunicationService. |
Method Summary | ||
---|---|---|
Capability |
createCapability() Create an instance of Capability |
|
EndUserConfirmationData |
createEndUserConfirmationData() create an instance of EndUserConfirmationData |
|
ResourceListsFactory |
createResourceListsFactory() Create an instance of ResourceListsFactory . |
|
|
findByInitiator(Class<C> type, String initiator) Search for all communication initiated by a particular user. |
|
|
findByName(Class<C> type, String name) Search API for communication by name. |
|
|
findByParticipant(Class<C> type, String participantName) Search for all communication where a particular user is present. |
|
|
findCommunications(Class<C> type) Method that returns all the communications for that application depending on the type of communication, |
|
CallbackHandler |
getCallbackHandler() Retrieve the CallbackHandler instance set in this CommunicationService. |
|
XCAPClient |
getXcapClient() create an instance of XCAPClient |
|
void |
setAuthenticationCallbackHandler(CallbackHandler handler) Application would set the CallbackHandler using this method. |
|
void |
setDefaultDomainName(String domainName) Set the default domain name used by SFT. |
|
void |
setDomainProxy(String domainProxy) Set the domain proxy or S-CSCF used by SFT. |
|
void |
setXcapRoot(String xcapRoot) Set the XCAP Root used by SFT. |
Field Detail |
---|
static final String NAME
Method Detail |
---|
<C extends Communication> Collection<C> findCommunications(Class<C> type)
C
- Communication. Can be conversation, conference..type
- Type of the Communication class.<C extends Communication> C findByName(Class<C> type, String name)
C
- communicationtype
- type of communicationname
- name of the communication<C extends Communication> Collection<C> findByInitiator(Class<C> type, String initiator)
C
- type of communicationtype
- communication classinitiator
- Caller of the communication.<C extends Communication> Collection<C> findByParticipant(Class<C> type, String participantName)
C
- Communicationtype
- type of communicationparticipantName
- name of the participantvoid setDefaultDomainName(String domainName)
ServiceAttributes
annotation.domainName
- Domain Name, eg: "example.com"ServiceAttributes
void setDomainProxy(String domainProxy)
ServiceAttributes
annotation.domainProxy
- URI representing the proxy or S-CSCF, eg: <sip:example.cscf.net:5060>ServiceAttributes
void setXcapRoot(String xcapRoot)
ServiceAttributes
annotation.xcapRoot
- XCAP Root that SFT uses, eg: http://example.xdms.net:8080/xcaprootServiceAttributes
ResourceListsFactory createResourceListsFactory()
ResourceListsFactory
.XCAPClient getXcapClient()
Capability createCapability()
EndUserConfirmationData createEndUserConfirmationData()
EndUserConfirmationData
void setAuthenticationCallbackHandler(CallbackHandler handler)
CallbackHandler
using this method. Whenever there is a challenge from the the user agent, that need to be handled (eg: from proxy), container would invoke this callback handler to receive the authentication information.handler
- An instance of the An instance of the CallbackHandler
CallbackHandler
CallbackHandler getCallbackHandler()
CallbackHandler
instance set in this CommunicationService.CallbackHandler
instance.
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.