org.eclipse.emf.emfstore.internal.server.core
Class AbstractEmfstoreInterface
java.lang.Object
org.eclipse.emf.emfstore.internal.server.core.AbstractEmfstoreInterface
- Direct Known Subclasses:
- AdminEmfStoreImpl, EMFStoreImpl
public abstract class AbstractEmfstoreInterface
- extends Object
Super class of all EmfstoreInterfaces. Emfstore interfaces performs sanity checks, runs accesscontrol and then
delegates the method call to the relating subinterface which actually implements the functionality. Using
InternalCommand
it is possible to access the interface without accesscontrol.
- Author:
- wesendon
- See Also:
AbstractSubEmfstoreInterface
,
EMFStoreInterface
AbstractEmfstoreInterface
public AbstractEmfstoreInterface(ServerSpace serverSpace,
AuthorizationControl authorizationControl)
throws FatalESException
- Default constructor.
- Parameters:
serverSpace
- the server spaceauthorizationControl
- access control
- Throws:
FatalESException
- if initialization fails
runCommand
public void runCommand(InternalCommand<? extends AbstractEmfstoreInterface> command)
- Runs an internal command, in order to avoid accesscontrol.
- Parameters:
command
- internal command
Copyright © 2015. All Rights Reserved.