Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


com.oracle.sft.api.context
Interface Resource

All Superinterfaces:
ContextElement
All Known Subinterfaces:
ConferenceResource, MessageObservationResource, ReferResource

public interface Resource
extends ContextElement

This interface represents the resource for subscribers.


Method Summary
 String getResourceId()
          Returns the resource id.
 Collection<String> getSubscribers()
          Returns all the subscribers for this resource.
 void removeSubscriber(String subscriber)
          Remove the given subscriber from the Resource's subscribers list.

 

Methods inherited from interface com.oracle.sft.api.ContextElement
isUpdatable

 

Method Detail

getSubscribers

Collection<String> getSubscribers()
Returns all the subscribers for this resource.
Returns:
a list of subscribers.

removeSubscriber

void removeSubscriber(String subscriber)
Remove the given subscriber from the Resource's subscribers list. IllegalArgumentException will be thrown if the subscriber is not in the subscribers list. If a subscriber is removed, it will not receive notification of this resource.
Parameters:
subscriber - the subscriber that to be removed.

getResourceId

String getResourceId()
Returns the resource id.
Returns:
the resource id.

Skip navigation links

Oracle Communications Converged Application Server Java API Reference
5.1

E36938-01


Copyright © 2012 Oracle Corporation. All Rights Reserved.