Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.ISarosContext Interface Reference
Inheritance diagram for de.fu_berlin.inf.dpp.ISarosContext:
de.fu_berlin.inf.dpp.SarosContext

List of all members.

Public Member Functions

MutablePicoContainer createSimpleChildContainer ()
boolean removeChildContainer (PicoContainer picoContainer)
< T > T getComponent (Class< T > componentType)

Package Functions

void initComponent (Object object)

Member Function Documentation

MutablePicoContainer de.fu_berlin.inf.dpp.ISarosContext.createSimpleChildContainer ( )

This should only be used by SarosSession code. Make sure to release the child container to prevent a memory leak

Returns:
Create a new child container

Implemented in de.fu_berlin.inf.dpp.SarosContext.

<T> T de.fu_berlin.inf.dpp.ISarosContext.getComponent ( Class< T >  componentType)

Retrieve a component keyed by the component type.

Parameters:
componentTypethe type of the component
Returns:
the typed resulting object instance or null if the object does not exist.

Implemented in de.fu_berlin.inf.dpp.SarosContext.

void de.fu_berlin.inf.dpp.ISarosContext.initComponent ( Object  object) [package]

Injects dependencies into the annotated fields of the given object. This method should be used for objects that were created by Eclipse, which have a different life cycle than the Saros plug-in.

Deprecated:
using annotated field injection inside the business logic is a bad design choice

Implemented in de.fu_berlin.inf.dpp.SarosContext.

boolean de.fu_berlin.inf.dpp.ISarosContext.removeChildContainer ( PicoContainer  picoContainer)

Remove the given child from this contexts container.

Parameters:
picoContainer
Returns:

Implemented in de.fu_berlin.inf.dpp.SarosContext.

 All Classes Namespaces Files Functions Variables Enumerations