net.jahhan.init.initer.RemotingContainerStart Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dubbo-rpc-api Show documentation
Show all versions of dubbo-rpc-api Show documentation
The rpc module of dubbo project
The newest version!
package net.jahhan.init.initer;
import java.util.Set;
import com.frameworkx.common.extension.utils.ExtensionExtendUtil;
import net.jahhan.init.BootstrapInit;
import net.jahhan.init.InitAnnocation;
import net.jahhan.spi.RemotingContainer;
@InitAnnocation(isLazy = false, initSequence = 3000)
public class RemotingContainerStart implements BootstrapInit {
@Override
public void execute() {
Set supportedExtensions = ExtensionExtendUtil.getSupportedExtensions(RemotingContainer.class);
if (null != supportedExtensions) {
for (String extension : supportedExtensions) {
RemotingContainer remotingContainer = ExtensionExtendUtil.getExtension(RemotingContainer.class,
extension);
remotingContainer.start();
}
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy