org.julp
Class Wrapper

java.lang.Object
  extended by org.julp.Wrapper

public class Wrapper
extends java.lang.Object


Field Summary
private  java.lang.Object object
           
 
Constructor Summary
Wrapper(java.lang.Object object)
           
 
Method Summary
 boolean isWrapperFor(java.lang.Class<?> type)
           
<T> T
unwrap(java.lang.Class<T> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

object

private java.lang.Object object
Constructor Detail

Wrapper

public Wrapper(java.lang.Object object)
Method Detail

unwrap

public <T> T unwrap(java.lang.Class<T> type)
         throws DataAccessException
Throws:
DataAccessException

isWrapperFor

public boolean isWrapperFor(java.lang.Class<?> type)
                     throws DataAccessException
Throws:
DataAccessException