org.rapla.framework
Interface Container

All Known Implementing Classes:
org.rapla.framework.internal.ContainerImpl, RaplaMainContainer

public interface Container


Field Summary
static String ROLE
           
 
Method Summary
 void addContainerProvidedComponent(String role, String classname)
           
 void addContainerProvidedComponent(String role, String classname, String hint, Configuration config)
           
 void addContainerProvidedComponentInstance(String role, Object component)
           
 Collection getAllServicesFor(String role)
          returns a set with all hints to the services
 RaplaContext getContext()
           
 StartupEnvironment getStartupEnvironment()
           
 Map lookupServicesFor(String role)
          lookup all services for this role (grouped by their hint)
 

Field Detail

ROLE

static final String ROLE
Method Detail

getStartupEnvironment

StartupEnvironment getStartupEnvironment()

addContainerProvidedComponentInstance

void addContainerProvidedComponentInstance(String role,
                                           Object component)

addContainerProvidedComponent

void addContainerProvidedComponent(String role,
                                   String classname)

addContainerProvidedComponent

void addContainerProvidedComponent(String role,
                                   String classname,
                                   String hint,
                                   Configuration config)

getContext

RaplaContext getContext()

getAllServicesFor

Collection getAllServicesFor(String role)
returns a set with all hints to the services


lookupServicesFor

Map lookupServicesFor(String role)
                      throws RaplaContextException
lookup all services for this role (grouped by their hint)

Throws:
RaplaContextException


Copyright © 2000-2006 Rapla Team. All Rights Reseserved.