|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Starting point for accessing the Profile service. The ProfileService is storred as an attribute of the ServletContext. For example in a Servlet, the following illustrates how to obtain a reference to the service:
ProfileService psvc = (ProfileService) getServletContext().getAttribute(ProfileService.PROFILE_SERVICE);
Field Summary | |
static java.lang.String |
PROFILE_SERVICE
The string to be used to look up the ProfileService in the ServletContext attributes |
Method Summary | |
org.w3c.dom.Document |
getDocument(java.lang.String docSel)
Get a document. |
void |
putDocument(java.lang.String docSel,
org.w3c.dom.Document doc)
Update a document. |
ProfileSubscription |
subscribe(SipApplicationSession session,
java.lang.String docSel,
java.io.Serializable info)
Subscribe to change notifications for a document described by the docSel document selector. |
Field Detail |
public static final java.lang.String PROFILE_SERVICE
Method Detail |
public org.w3c.dom.Document getDocument(java.lang.String docSel) throws ProfileException, java.io.IOException
docSel
- the document selector to use
ProfileException
java.io.IOException
public void putDocument(java.lang.String docSel, org.w3c.dom.Document doc) throws ProfileException, java.io.IOException
docSel
- the document selector to usedoc
- the Document to update
ProfileException
java.io.IOException
public ProfileSubscription subscribe(SipApplicationSession session, java.lang.String docSel, java.io.Serializable info) throws ProfileException
subscribe
method.
session
- The session interested in this subscriptiondocSel
- The document Selectorinfo
- Extra information to be passed in the callback.
ProfileException
|
Documentation is available at http://download.oracle.com/docs/cd/E13209_01/wlcp/wlss22/ Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |