public class ServiceImpl extends AbstractServiceImpl<Session,SessionImpl> implements Service
authorizationProvider, sessionsDEFAULT_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, validateSessionauthorize, authorize, extractPrivileges, fillSessionProperties, loginUser, makeEffectiveUserInformation, setAuditLogService, setAuthenticationImplementation, setAuthorizationImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcloseSession, createSessionstartpublic ServiceImpl(ConfigurationAdministrator service, org.osgi.framework.BundleContext context, Executor executor) throws Exception
Exceptionpublic void stop()
throws Exception
stop in interface LifecycleAwarestop in class AbstractServiceImpl<Session,SessionImpl>Exceptionprotected 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
InvalidSessionExceptionprotected NotifyFuture<Void> processApplyDiff(UserInformation userInformation, Collection<DiffEntry> changeSet)
public NotifyFuture<FactoryWithData> getFactory(Session session, String factoryId) throws InvalidSessionException
InvalidSessionExceptionpublic NotifyFuture<Factory[]> getKnownFactories(Session session) throws InvalidSessionException
InvalidSessionExceptionpublic NotifyFuture<Configuration[]> getConfigurations(Session session, String factoryId) throws InvalidSessionException
InvalidSessionExceptionpublic NotifyFuture<Configuration> getConfiguration(Session session, String factoryId, String configurationId) throws InvalidSessionException
InvalidSessionExceptionCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.