org.jboss.osgi.framework
Interface TypeAdaptor


public interface TypeAdaptor

Adapt a type to another.

Since:
14-Mar-2012
Author:
thomas.diesler@jboss.com

Method Summary
<T> T
adapt(Class<T> type)
          Adapt this type to another that corresponds to the given type.
 

Method Detail

adapt

<T> T adapt(Class<T> type)
Adapt this type to another that corresponds to the given type.

Returns:
An instance instance of the target type or null


Copyright © 2012. All Rights Reserved.