Package org.pipservices3.container.refer
Class ContainerReferences
java.lang.Object
org.pipservices3.container.refer.ReferencesDecorator
org.pipservices3.container.refer.ManagedReferences
org.pipservices3.container.refer.ContainerReferences
- All Implemented Interfaces:
org.pipservices3.commons.refer.IReferences
,org.pipservices3.commons.run.IClosable
,org.pipservices3.commons.run.IOpenable
Container managed references that can be created from container configuration.
- See Also:
-
Field Summary
Fields inherited from class org.pipservices3.container.refer.ManagedReferences
_builder, _linker, _references, _runner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
putFromConfig
(ContainerConfig config) Puts components into the references from container configuration.Methods inherited from class org.pipservices3.container.refer.ManagedReferences
close, fromTuples, isOpen, open
Methods inherited from class org.pipservices3.container.refer.ReferencesDecorator
find, find, getAll, getAllLocators, getNextReferences, getOneOptional, getOneOptional, getOneRequired, getOneRequired, getOptional, getOptional, getRequired, getRequired, getTopReferences, put, remove, removeAll, setNextReferences, setTopReferences
-
Constructor Details
-
ContainerReferences
public ContainerReferences()
-
-
Method Details
-
putFromConfig
public void putFromConfig(ContainerConfig config) throws org.pipservices3.commons.refer.ReferenceException Puts components into the references from container configuration.- Parameters:
config
- a container configuration with information of components to be added.- Throws:
org.pipservices3.commons.refer.ReferenceException
- when no found references.
-