com.khubla.pragmatach.plugin.mongodb.proxy
Class MongoProxyFactory
java.lang.Object
com.khubla.pragmatach.plugin.mongodb.proxy.MongoProxyFactory
public class MongoProxyFactory
- extends Object
- Author:
- tom
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LAZYID
public static final String LAZYID
- some special names
- See Also:
- Constant Field Values
LAZYFETCHED
public static final String LAZYFETCHED
- See Also:
- Constant Field Values
MongoProxyFactory
public MongoProxyFactory()
getProxyObject
public static Object getProxyObject(Class<?> typeClazz)
throws javassist.NotFoundException,
IllegalAccessException,
InstantiationException,
javassist.CannotCompileException
- get a proxy to an instance of a type
- Throws:
javassist.NotFoundException
IllegalAccessException
InstantiationException
javassist.CannotCompileException
setID
public static void setID(Object o,
String id)
throws IllegalAccessException
- Throws:
IllegalAccessException
setFetched
public static void setFetched(Object o,
boolean fetched)
throws IllegalAccessException
- Throws:
IllegalAccessException
getId
public static String getId(Object o)
throws IllegalAccessException
- Throws:
IllegalAccessException
getFetched
public static boolean getFetched(Object o)
throws IllegalAccessException
- Throws:
IllegalAccessException
Copyright © 2014 khubla.com. All rights reserved.