|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExtensionDescriptor
Interface for uniform initialization of extensions.
Any extension should provide exactly one implementation of this interface.
The implementation should also be named ExtensionDescriptor
,
and be placed in a package specific to the extension.
Parameter for the Wrapper or GraphPool creation can be given to the constructor or a static creation method, depending on how the ExtensionDescriptor is implemented.
GraphPoolFactory
Method Summary | |
---|---|
GraphPool |
extendGraphPool(GraphPool gp)
Returns either the supplied GraphPool unmodified, or a wrapped version of it. |
java.lang.Class<?> |
getExtendedGraphPoolClass()
Returns the class of the corresponding graph pool. |
GraphPoolChecker |
getGraphPoolChecker()
Returns the GraphPoolChecker used by this extension, or null if none. |
SchemaChecker |
getSchemaChecker()
Returns the SchemaChecker used by this extension, or null if none. |
Wrapper |
getWrapper()
Returns the Wrapper used by this extension, or null if none. |
Method Detail |
---|
Wrapper getWrapper()
null
if none.
null
if none.GraphPool extendGraphPool(GraphPool gp) throws DragosException
You should not call GraphPool.setWrapper(Wrapper)
or otherwise
attempt to force the extension's Wrapper to be used, just implement
getWrapper()
and let the GraphPoolFactory
do its work.
This method must never return null
!
gp
- The GraphPool as it was created and possibly wrapped up to now.
DragosException
- if something wents wrong.java.lang.Class<?> getExtendedGraphPoolClass()
GraphPoolFactory
uses extendGraphPool(GraphPool)
to give extensions more flexibility), but for
partial unwrapping.
GraphPoolChecker getGraphPoolChecker()
null
if none.
null
if none.SchemaChecker getSchemaChecker()
null
if none.
null
if none.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |