|
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 | |
void |
deleteDocument(Address requestor,
java.lang.String docSel)
Delete a document. |
void |
deleteDocument(java.lang.String docSel)
Delete a document. |
org.w3c.dom.Document |
getDocument(Address requestor,
java.lang.String docSel)
Get a document. |
org.w3c.dom.Document |
getDocument(java.lang.String docSel)
Get a document. |
void |
putDocument(Address requestor,
java.lang.String docSel,
org.w3c.dom.Document doc)
Update a document. |
void |
putDocument(java.lang.String docSel,
org.w3c.dom.Document doc)
Update a document. |
ProfileSubscription |
subscribe(Address subscriber,
SipApplicationSession session,
java.lang.String docSel,
int duration,
java.io.Serializable info)
Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(Address subscriber,
SipApplicationSession session,
java.lang.String docSel,
java.io.Serializable info)
Subscribe to change notifications for a document described by the docSel document selector. |
ProfileSubscription |
subscribe(SipApplicationSession session,
java.lang.String docSel,
int duration,
java.io.Serializable info)
Subscribe to change notifications for a document described by the docSel document selector. |
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 void deleteDocument(Address requestor, java.lang.String docSel) throws ProfileException
requestor
- the party ordering the deletedocSel
- the document selector to use
ProfileException
public void deleteDocument(java.lang.String docSel) throws ProfileException
docSel
- the document selector to use
ProfileException
public org.w3c.dom.Document getDocument(Address requestor, java.lang.String docSel) throws ProfileException
requestor
- the party making the requestdocSel
- the Document
ProfileException
public org.w3c.dom.Document getDocument(java.lang.String docSel) throws ProfileException
docSel
- the document selector to use
ProfileException
public void putDocument(Address requestor, java.lang.String docSel, org.w3c.dom.Document doc) throws ProfileException
requestor
- the party making the requestdocSel
- the document selector to usedoc
- the Document to update
ProfileException
public void putDocument(java.lang.String docSel, org.w3c.dom.Document doc) throws ProfileException
docSel
- the document selector to usedoc
- the Document to update
ProfileException
public ProfileSubscription subscribe(Address subscriber, SipApplicationSession session, java.lang.String docSel, int duration, java.io.Serializable info) throws ProfileException
subscriber
- The party making the subscription.session
- The session interested in this subscriptiondocSel
- The document Selectorduration
- The length of the subscription in secondsinfo
- Extra information to be passed in the callback.
ProfileException
public ProfileSubscription subscribe(Address subscriber, SipApplicationSession session, java.lang.String docSel, java.io.Serializable info) throws ProfileException
subscribe
method.
subscriber
- the party making the subscriptionsession
- The session interested in this subscriptiondocSel
- The document Selectorinfo
- Extra information to be passed in the callback.
ProfileException
public ProfileSubscription subscribe(SipApplicationSession session, java.lang.String docSel, int duration, java.io.Serializable info) throws ProfileException
session
- The session interested in this subscriptiondocSel
- The document Selectorduration
- The length of the subscription in secondsinfo
- Extra information to be passed in the callback.
ProfileException
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/wlss31/ Copyright 2007 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |