Protege 2.1.1

edu.stanford.smi.protege.model.framestore
Class AbstractFrameStoreInvocationHandler

java.lang.Object
  extended byedu.stanford.smi.protege.model.framestore.AbstractFrameStoreInvocationHandler
All Implemented Interfaces:
InvocationHandler
Direct Known Subclasses:
_MergingFrameStoreHandler, ArgumentCheckingFrameStoreHandler, CallCachingFrameStore, ChangeMonitorFrameStoreHandler, JournalingFrameStoreHandler, LocalizeFrameStoreHandler, MergingFrameStoreHandler, ReadOnlyFrameStoreHandler

public abstract class AbstractFrameStoreInvocationHandler
extends Object
implements InvocationHandler


Constructor Summary
AbstractFrameStoreInvocationHandler()
           
 
Method Summary
protected  FrameStore getDelegate()
           
static Object getInstance(Class clas, KnowledgeBase kb)
           
protected  void handleClose()
           
protected abstract  Object handleInvoke(Method method, Object[] args)
           
protected  void handleReinitialize()
           
protected  Object invoke(Method m, Object[] args)
           
protected static Object invoke(Method m, Object[] args, FrameStore frameStore)
           
 Object invoke(Object proxy, Method method, Object[] args)
           
protected static boolean isModification(Method method)
           
protected static boolean isQuery(Method method)
           
static FrameStore newInstance(Class handlerClass)
           
static FrameStore newInstance(Class handlerClass, KnowledgeBase kb)
           
protected  void setDelegate(FrameStore delegate)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractFrameStoreInvocationHandler

public AbstractFrameStoreInvocationHandler()
Method Detail

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()

Protege 2.1.1

Submit a bug report or feature request
Protégé is a trademark of Stanford University.
Copyright (c) 1998-2004 Stanford University.