|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IContainerFactory
Container factory contract ContainerFactory for default
implementation.
| Method Summary | |
|---|---|
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,
java.util.Map parameters)
Create a new container. |
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
ID containerID,
java.lang.Object[] parameters)
Create a new container. |
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
java.util.Map parameters)
Create a new container. |
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
java.lang.Object[] parameters)
Create a new container. |
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
java.lang.String containerId)
Create a new container. |
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
java.lang.String containerId,
java.util.Map parameters)
Create a new container. |
IContainer |
createContainer(ContainerTypeDescription containerTypeDescription,
java.lang.String containerId,
java.lang.Object[] parameters)
Create a new container. |
IContainer |
createContainer(ID containerID)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
ID containerID)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
ID containerID,
java.util.Map parameters)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
ID containerID,
java.lang.Object[] parameters)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
java.util.Map parameters)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
java.lang.Object[] parameters)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
java.lang.String containerId)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
java.lang.String containerId,
java.util.Map parameters)
Create a new container. |
IContainer |
createContainer(java.lang.String containerTypeDescriptionName,
java.lang.String containerId,
java.lang.Object[] parameters)
Create a new container. |
ContainerTypeDescription |
getDescriptionByName(java.lang.String containerTypeDescriptionName)
Get the known ContainerTypeDescription given it's name. |
java.util.List |
getDescriptions()
Get a collection of the ContainerDescriptions currently known to this factory. |
ContainerTypeDescription[] |
getDescriptionsForContainerAdapter(java.lang.Class containerAdapter)
Get container type descriptions that support the given containerAdapter |
ContainerTypeDescription |
removeDescription(ContainerTypeDescription containerTypeDescription)
Remove given description from set known to this factory. |
| Method Detail |
|---|
ContainerTypeDescription addDescription(ContainerTypeDescription containerTypeDescription)
containerTypeDescription - the ContainerTypeDescription to add to this factory. Must not
be null.
java.util.List getDescriptions()
boolean containsDescription(ContainerTypeDescription containerTypeDescription)
containerTypeDescription - the ContainerTypeDescription to look for
ContainerTypeDescription getDescriptionByName(java.lang.String containerTypeDescriptionName)
containerTypeDescriptionName - the name to use as key to find ContainerTypeDescription. Must not be null.
ContainerTypeDescription removeDescription(ContainerTypeDescription containerTypeDescription)
containerTypeDescription - the ContainerTypeDescription to remove
ContainerTypeDescription[] getDescriptionsForContainerAdapter(java.lang.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(java.lang.String containerTypeDescriptionName)
throws ContainerCreateException
containerTypeDescriptionName - the ContainerTypeDescription name to lookup. Must not be null.
null.
ContainerCreateException
IContainer createContainer(ContainerTypeDescription containerTypeDescription,
java.lang.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(java.lang.String containerTypeDescriptionName,
java.lang.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(java.lang.String containerTypeDescriptionName,
java.lang.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(java.lang.String containerTypeDescriptionName,
java.lang.String containerId,
java.lang.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,
java.lang.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,
java.lang.String containerId,
java.lang.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,
java.lang.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(java.lang.String containerTypeDescriptionName,
ID containerID,
java.lang.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(java.lang.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,
java.util.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,
java.lang.String containerId,
java.util.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(java.lang.String containerTypeDescriptionName,
ID containerID,
java.util.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(java.lang.String containerTypeDescriptionName,
java.lang.String containerId,
java.util.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,
java.util.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(java.lang.String containerTypeDescriptionName,
java.util.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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||