|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InventoryElement
Implementations which are to be made available to the Inventory can be created using one of the methods provided by implementations of this interface. This enables the Inventory to not have to know about implementation specific.
Method Summary | |
---|---|
ClassName |
className()
Return the ClassName of the implementation to be created. |
java.lang.Object |
createClassName(ClassName className)
Create an implementation and pass the constructor the ClassName parameter. |
java.lang.Object |
createClassNameResources(ClassName className,
java.lang.Object[] resources)
Create an implementation and pass the constructor the ClassName and array of Objects. |
java.lang.Object |
createObjectName(ObjectName objectName)
Create an implementation and pass the constructor the ObjectName parameter. |
java.lang.Object |
createObjectNameResources(ObjectName objectName,
java.lang.Object[] resources)
Create an implementation and pass the constructor the ObjectName and array of Objects. |
java.lang.Object |
createResources(java.lang.Object[] resources)
Create an implementation and pass the constructor the array of Objects. |
java.lang.Object |
createVoid()
Create an implementation using a default constructor. |
Method Detail |
---|
java.lang.Object createVoid()
java.lang.Object createClassName(ClassName className)
java.lang.Object createObjectName(ObjectName objectName)
java.lang.Object createResources(java.lang.Object[] resources)
java.lang.Object createClassNameResources(ClassName className, java.lang.Object[] resources)
java.lang.Object createObjectNameResources(ObjectName objectName, java.lang.Object[] resources)
ClassName className()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |