Skip to content

Core SCFFLD classes

Julian Goacher edited this page Feb 10, 2017 · 1 revision

This page describes some of the key classes in the com.innerfunction.scffld package.

Container

The base container implementation. Provides methods for loading configurations, building objects and components, and for accessing named objects.

Configuration

A class for loading configuration data from JSON. Handles configuration value prefix modifiers and resolution of configuration templates.

ObjectConfigurer

This class is responsible for configuring newly instantiated objects by mapping a configuration to the object's properties.

IOCConfigurationAware

An interface which allows component objects to be notified of key points in the configuration life cycle.

IOCContainerAware

An interface which allows a component object to receive a reference to its container.

IOCObjectAware

An interface which allows a component object to be notified when it is about to be injected into a parent object (i.e. as a property value of the parent).

IOCObjectFactory

An interface to be implemented by classes which can act as factories for container objects.

IOCProxy

An interface to be implemented by classes which act as configuration proxies for other classes.

IOCProxyObject

A standard implementation of the IOCProxy interface.

Message

A class used to represent messages sent between SCFFLD components.

MessageReceiver

An interface implemented by components that are able to receive SCFFLD messages.

MessageRouter

An interface implemented by components that are able to route SCFFLD messages to sub-components contained by the component.

Service

An interface implemented by service components. Services are started by the container once added to the container, and are stopped when removed from the container or when the container itself is stopped.