org.openpermis.editor.policy.adapter
Interface AdapterTrader

All Known Implementing Classes:
BasicAdapterTrader

public interface AdapterTrader

Describes an adapter trader that can adapt objects.

Since:
0.3.0

Method Summary
<T extends Adaptee<?>>
T
adaptTo(Object object, Class<T> adapteeType)
          Adapts an object to the adaptee type.
 

Method Detail

adaptTo

<T extends Adaptee<?>> T adaptTo(Object object,
                                 Class<T> adapteeType)
Adapts an object to the adaptee type.

Parameters:
object - the object to adapt.
adapteeType - the type to adapt to.
Since:
0.4.0


PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:22
Copyright (c) 2002-2007 Ergon Informatik AG