org.openpermis.editor.policy.adapter
Interface Adapter

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractAdapter, PartBeanAdapter

public interface Adapter
extends Serializable

Describes an adapter that can convert objects to a new type.

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


OpenPermis Role Based Access Control 0.9.0 (Build 16)
2009/08/13 07:17:21
Copyright (c) 2002-2007 Ergon Informatik AG