org.jboss.portal.common.util
Interface Adaptable


public interface Adaptable

Interface implemented by adaptable objects.


Method Summary
 java.lang.Object getAdapter(java.lang.Class adaptedClass)
          Return an adapter for the adapter class.
 

Method Detail

getAdapter

public java.lang.Object getAdapter(java.lang.Class adaptedClass)
Return an adapter for the adapter class.

Returns:
the adapter object or null if no adapter is found