org.eclipse.ecf.presence
Class AbstractPresenceContainer

java.lang.Object
  extended by org.eclipse.ecf.presence.AbstractPresenceContainer
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, IPresenceContainerAdapter, IPresenceService

public abstract class AbstractPresenceContainer
extends java.lang.Object
implements IPresenceService

An abstract IPresenceContainerAdapter implementation. This class is intended to be subclassed.


Constructor Summary
AbstractPresenceContainer()
           
 
Method Summary
 IAccountManager getAccountManager()
          Get interface for managing account
 java.lang.Object getAdapter(java.lang.Class adapter)
           
 IChatRoomManager getChatRoomManager()
          Get chat room manager for this presence container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ecf.presence.IPresenceContainerAdapter
getChatManager, getRosterManager, getUserSearchManager
 

Constructor Detail

AbstractPresenceContainer

public AbstractPresenceContainer()
Method Detail

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
See Also:
IAdaptable.getAdapter(java.lang.Class)

getAccountManager

public IAccountManager getAccountManager()
Description copied from interface: IPresenceContainerAdapter
Get interface for managing account

Specified by:
getAccountManager in interface IPresenceContainerAdapter
Returns:
IAccountManger. Will be null if no account manager available

getChatRoomManager

public IChatRoomManager getChatRoomManager()
Description copied from interface: IPresenceContainerAdapter
Get chat room manager for this presence container. If returns null, no chat room facilities are available

Specified by:
getChatRoomManager in interface IPresenceContainerAdapter
Returns:
a chat room manager instance if chat room facilities are available for this presence container If no such facilities are available, returns null.