Aspect DevelopmentAspect Development
How to extend the system with new datatypes
Home > Books > NetKernel Extensions > Aspect Development

Rate this page:
Really useful
Satisfactory
Not helpful
Confusing
Incorrect
Unsure
Extra comments:


Aspects are implementations of Java interfaces held by a representation of a resource and packets of resource state.

Newly developed aspects may also require new transreptors to enable interoperability with existing data-types. Aspects usually require at least two transreptors, one that creates an aspect from a binary stream and a second that creates an aspect from a canonical XML form.

Development

Aspects implement the interface org.ten60.netkernel.urii.IURAspect and include any aspect specific methods required to provide a view of the resource that they are an aspect of.

Aspects are cached and accessed concurrently by multiple threads and must be immutable.

Registration

Aspects exist in the Java class space not in the URI space, therefore they do not require registration. However, classes that implement aspects must be exported from their hosting module if they are required in other modules.

© 2003-2007, 1060 Research Limited. 1060 registered trademark, NetKernel trademark of 1060 Research Limited.