org.eclipse.emf.emfstore.internal.server.core
Class EMFStoreImpl
java.lang.Object
org.eclipse.emf.emfstore.internal.server.core.AbstractEmfstoreInterface
org.eclipse.emf.emfstore.internal.server.core.EMFStoreImpl
- All Implemented Interfaces:
- InvocationHandler
public class EMFStoreImpl
- extends AbstractEmfstoreInterface
- implements InvocationHandler
This is the main implementation of EMFStore.
- Author:
- wesendon
- See Also:
EMFStore
EMFStoreImpl
public EMFStoreImpl(ServerSpace serverSpace,
AuthorizationControl authorizationControl)
throws FatalESException
- Default constructor.
- Parameters:
serverSpace - the ServerSpaceauthorizationControl - the AuthorizationControl
- Throws:
FatalESException - in case of failure
invoke
public Object invoke(Object obj,
Method method,
Object[] args)
throws ESException
-
- Specified by:
invoke in interface InvocationHandler
- Throws:
ESException- See Also:
InvocationHandler.invoke(java.lang.Object, java.lang.reflect.Method, java.lang.Object[])
createInterface
public static EMFStore createInterface(ServerSpace serverSpace,
AuthorizationControl accessControl)
throws IllegalArgumentException,
FatalESException
- creates a dynamic proxy backed by EmfStoreImpl.
- Parameters:
serverSpace - the server spaceaccessControl - an access control instance
- Returns:
- an instance of emfstore
- Throws:
IllegalArgumentException - thrown by Proxy.newInstance
FatalESException - thrown if something fatal happens
Copyright © 2015. All Rights Reserved.