Interface ContextFactory
-
- All Implemented Interfaces:
public interface ContextFactoryFactory to create Context instances.
-
-
Method Summary
Modifier and Type Method Description abstract ContextcreateContext(long transactionId, String operationHandle, InstanceIdentifier invocationSource, EventSourceAccess eventSourceAccess, LocalMdibAccess mdibAccess, @Nullable() String callerId)Creates a new Context instance. -
-
Method Detail
-
createContext
abstract Context createContext(long transactionId, String operationHandle, InstanceIdentifier invocationSource, EventSourceAccess eventSourceAccess, LocalMdibAccess mdibAccess, @Nullable() String callerId)
Creates a new Context instance.
- Parameters:
transactionId- transaction id that is requestable and used to create reports.operationHandle- the handle of operation this context belongs to.invocationSource- the instance identifier used to add as invocation source to reports.eventSourceAccess- the event source access to send report notifications.mdibAccess- the MDIB access be used to read and/or modify on function callback.- Returns:
the new instance.
-
-
-
-