public class ServiceImpl extends AbstractServiceImpl<Session,SessionImpl> implements Service
authorizationProvider, sessions
DEFAULT_RESULT
Constructor and Description |
---|
ServiceImpl(ConfigurationAdministrator service,
org.osgi.framework.BundleContext context,
Executor executor) |
Modifier and Type | Method and Description |
---|---|
NotifyFuture<Void> |
applyDiff(Session session,
Collection<DiffEntry> changeSet,
OperationParameters operationParameters,
CallbackHandler callbackHandler) |
protected SessionImpl |
createSessionInstance(UserInformation userInformation,
Map<String,String> properties) |
NotifyFuture<Configuration> |
getConfiguration(Session session,
String factoryId,
String configurationId) |
NotifyFuture<Configuration[]> |
getConfigurations(Session session,
String factoryId) |
NotifyFuture<FactoryWithData> |
getFactory(Session session,
String factoryId) |
NotifyFuture<Factory[]> |
getKnownFactories(Session session) |
protected NotifyFuture<Void> |
processApplyDiff(UserInformation userInformation,
Collection<DiffEntry> changeSet) |
void |
stop() |
closeSession, createSession, createSession, handleSessionClosed, handleSessionCreated, start, validateSession
authorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
closeSession, createSession
start
public ServiceImpl(ConfigurationAdministrator service, org.osgi.framework.BundleContext context, Executor executor) throws Exception
Exception
public void stop() throws Exception
stop
in interface LifecycleAware
stop
in class AbstractServiceImpl<Session,SessionImpl>
Exception
protected SessionImpl createSessionInstance(UserInformation userInformation, Map<String,String> properties)
createSessionInstance
in class AbstractServiceImpl<Session,SessionImpl>
public NotifyFuture<Void> applyDiff(Session session, Collection<DiffEntry> changeSet, OperationParameters operationParameters, CallbackHandler callbackHandler) throws InvalidSessionException
InvalidSessionException
protected NotifyFuture<Void> processApplyDiff(UserInformation userInformation, Collection<DiffEntry> changeSet)
public NotifyFuture<FactoryWithData> getFactory(Session session, String factoryId) throws InvalidSessionException
InvalidSessionException
public NotifyFuture<Factory[]> getKnownFactories(Session session) throws InvalidSessionException
InvalidSessionException
public NotifyFuture<Configuration[]> getConfigurations(Session session, String factoryId) throws InvalidSessionException
InvalidSessionException
public NotifyFuture<Configuration> getConfiguration(Session session, String factoryId, String configurationId) throws InvalidSessionException
InvalidSessionException
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.