use of org.opendaylight.protocol.pcep.spi.PCEPExtensionProviderActivator in project bgpcep by opendaylight.
the class ServiceLoaderPCEPExtensionProviderContext method create.
public static PCEPExtensionProviderContext create() {
final PCEPExtensionProviderContext ctx = new SimplePCEPExtensionProviderContext();
final ServiceLoader<PCEPExtensionProviderActivator> loader = ServiceLoader.load(PCEPExtensionProviderActivator.class);
for (final PCEPExtensionProviderActivator a : loader) {
a.start(ctx);
}
return ctx;
}
Aggregations