org.ops4j.pax.reflector.spi
Interface ReflectorProvider

All Known Implementing Classes:
ReflectorImpl

public interface ReflectorProvider


Method Summary
 void addTypeHandler(TypeHandler handler)
          Adds a TypeHandler.
 void removeTypeHandler(TypeHandler handler)
          Removes a TypeHandler from the ReflectorProvider.
 

Method Detail

addTypeHandler

void addTypeHandler(TypeHandler handler)
Adds a TypeHandler.

TypeHandlers must be added in the priority order with the least high priority first, such as the default ObjectTypeHandler, and highly specialized type handlers last.

There is no support for adding a lower priority TypeHandler after a higher priority one.

Parameters:
handler - The TypeHandler to be added.

removeTypeHandler

void removeTypeHandler(TypeHandler handler)
Removes a TypeHandler from the ReflectorProvider.

Parameters:
handler - The TypeHandler instance to be removed.


Copyright © 2008. All Rights Reserved.