Saros
Distributed Collaborative Editing and Distributed Party Programming
de.fu_berlin.inf.dpp.SarosPluginContext Class Reference

List of all members.

Static Public Member Functions

static void setSarosContext (ISarosContext sarosContext)
static void initComponent (Object instance)

Detailed Description

Provides the possibility to initialize a component with the components hold in the given de.fu_berlin.inf.dpp.ISarosContext.

Typically this is the context created by Saros while it's initialization.


Member Function Documentation

static void de.fu_berlin.inf.dpp.SarosPluginContext.initComponent ( Object  instance) [static]

Initializes a given instance of a component (class) by assigning values to all variables that are annotated with an Inject} annotation.

Note: If the requested values (components) are not present in the current context a null value will be assigned!

Parameters:
instanceinstance of a component which should be initialized
static void de.fu_berlin.inf.dpp.SarosPluginContext.setSarosContext ( ISarosContext  sarosContext) [static]
 All Classes Namespaces Files Functions Variables Enumerations