edu.stanford.smi.protege.model.framestore
Class AbstractFrameStoreInvocationHandler
java.lang.Object
edu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler
- All Implemented Interfaces:
- InvocationHandler
- Direct Known Subclasses:
- _MergingFrameStoreHandler, ArgumentCheckingFrameStoreHandler, CallCachingFrameStore, ChangeMonitorFrameStoreHandler, JournalingFrameStoreHandler, LocalizeFrameStoreHandler, MergingFrameStoreHandler, ReadOnlyFrameStoreHandler, TraceFrameStoreHandler
- public abstract class AbstractFrameStoreInvocationHandler
- extends Object
- implements InvocationHandler
AbstractFrameStoreInvocationHandler
public AbstractFrameStoreInvocationHandler()
getDelegate
protected FrameStore getDelegate()
setDelegate
protected void setDelegate(FrameStore delegate)
newInstance
public static FrameStore newInstance(Class handlerClass)
getInstance
public static Object getInstance(Class clas,
KnowledgeBase kb)
throws IllegalAccessException,
InstantiationException,
InvocationTargetException
- Throws:
IllegalAccessException
InstantiationException
InvocationTargetException
newInstance
public static FrameStore newInstance(Class handlerClass,
KnowledgeBase kb)
isQuery
protected static boolean isQuery(Method method)
isModification
protected static boolean isModification(Method method)
invoke
public Object invoke(Object proxy,
Method method,
Object[] args)
- Specified by:
invoke
in interface InvocationHandler
handleReinitialize
protected void handleReinitialize()
handleClose
protected void handleClose()
handleInvoke
protected abstract Object handleInvoke(Method method,
Object[] args)
invoke
protected Object invoke(Method m,
Object[] args)
invoke
protected static Object invoke(Method m,
Object[] args,
FrameStore frameStore)
toString
public String toString()
Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2005 Stanford University.