public interface IContainerFactory
ContainerFactory for default
implementation.| Modifier and Type | Method and Description |
|---|---|
ContainerTypeDescription |
addDescription(ContainerTypeDescription containerTypeDescription)
Add a ContainerTypeDescription to the set of known ContainerDescriptions.
|
boolean |
containsDescription(ContainerTypeDescription containerTypeDescription)
Check to see if a given named description is already contained by this
factory
|
IContainer |
createContainer()
Make a base IContainer instance.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
ID containerID)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
ID containerID,
Map parameters)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
ID containerID,
Object[] parameters)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
Map parameters)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
Object[] parameters)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
String containerId)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
String containerId,
Map parameters)
Create a new container.
|
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
String containerId,
Object[] parameters)
Create a new container.
|
IContainer |
createContainer(ID containerID)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
ID containerID)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
ID containerID,
Map parameters)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
ID containerID,
Object[] parameters)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
Map parameters)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
Object[] parameters)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
String containerId)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
String containerId,
Map parameters)
Create a new container.
|
IContainer |
createContainer(String containerTypeDescriptionName,
String containerId,
Object[] parameters)
Create a new container.
|
ContainerTypeDescription |
getDescriptionByName(String containerTypeDescriptionName)
Get the known ContainerTypeDescription given it's name.
|
List |
getDescriptions()
Get a collection of the ContainerDescriptions currently known to this
factory.
|
ContainerTypeDescription[] |
getDescriptionsForContainerAdapter(Class containerAdapter)
Get container type descriptions that support the given containerAdapter
|
ContainerTypeDescription |
removeDescription(ContainerTypeDescription containerTypeDescription)
Remove given description from set known to this factory.
|
ContainerTypeDescription addDescription(ContainerTypeDescription containerTypeDescription)
containerTypeDescription - the ContainerTypeDescription to add to this factory. Must not
be null.List getDescriptions()
boolean containsDescription(ContainerTypeDescription containerTypeDescription)
containerTypeDescription - the ContainerTypeDescription to look forContainerTypeDescription getDescriptionByName(String containerTypeDescriptionName)
containerTypeDescriptionName - the name to use as key to find ContainerTypeDescription. Must not be null.ContainerTypeDescription removeDescription(ContainerTypeDescription containerTypeDescription)
containerTypeDescription - the ContainerTypeDescription to removeContainerTypeDescription[] getDescriptionsForContainerAdapter(Class containerAdapter)
containerAdapter - the container adapter. Must not be null.IContainer createContainer() throws ContainerCreateException
null instance will be returned.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ID containerID) throws ContainerCreateException
containerID - the container's new ID. Must not be null.null. instance will be returned.ContainerCreateException - if some problem creating a base IContainer instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use. Must not be null.null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.null.ContainerCreateException - if cannot create container of given nameIContainer createContainer(ContainerTypeDescription containerTypeDescription, Object[] parameters) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.parameters - an Object [] of parameters passed to the createInstance method
of the IContainerInstantiator. May be null.null instance will be returned.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, Object[] parameters) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.parameters - the Object [] of parameters passed to the
IContainerInstantiator.createInstance method. May be null.null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, String containerId) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to use to create the instance. Must not be null.containerId - the container's new ID. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, String containerId, Object[] parameters) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to use to create the instance. Must not be null.containerId - the container's new ID. May be null.parameters - an Object [] of parameters passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, String containerId) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.containerId - the container's new ID. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, String containerId, Object[] parameters) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.containerId - the container's new ID. May be null.parameters - an Object [] of parameters passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, ID containerID, Object[] parameters) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.containerID - the container's new ID. May be null.parameters - an Object [] of parameters passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, ID containerID, Object[] parameters) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.containerID - the new container's id. May be null.parameters - the Object [] of parameters passed to the
IContainerInstantiator.createInstance method. May be null.null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, ID containerID) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to lookup. Must not be null.containerID - the new container's id. May be null.null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, ID containerID) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.containerID - the new container's id. May be null.null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, ID containerID, Map parameters) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.containerID - the container's new ID. Must not be null.parameters - a Map of parameters (name/value pairs) passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, String containerId, Map parameters) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.containerId - the container's new ID. May be null.parameters - a Map of parameters (name/value pairs) passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, ID containerID, Map parameters) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.containerID - the container's new ID. May be null.parameters - a Map of parameters (name/value pairs) passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, String containerId, Map parameters) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.containerId - the container's new ID. May be null.parameters - a Map of parameters (name/value pairs) passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(ContainerTypeDescription containerTypeDescription, Map parameters) throws ContainerCreateException
containerTypeDescription - the ContainerTypeDescription to use to create the instance. Must not be null.parameters - a Map of parameters (name/value pairs) passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.IContainer createContainer(String containerTypeDescriptionName, Map parameters) throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.parameters - a Map of parameters (name/value pairs) passed to the createInstance method
of the IContainerInstantiator. May be null.ContainerCreateException - if some problem creating the instance.Copyright © 2004–2020 Eclipse Foundation. All rights reserved.