Examples of RmiServiceExporter


Examples of org.springframework.remoting.rmi.RmiServiceExporter

    public LightAdminConfigurationMonitoringServiceMBean lightAdminConfigurationMonitoringServiceMBean() {
        return new LightAdminConfigurationMonitoringServiceMBean(globalConfigurationManagementService);
    }

    private RmiServiceExporter createRmiServiceExporter(final Object service, final String serviceName) throws RemoteException {
        RmiServiceExporter rmiServiceExporter = new RmiServiceExporter();
        rmiServiceExporter.setServiceName(serviceName);
        rmiServiceExporter.setService(service);
        rmiServiceExporter.setServiceInterface(ClassUtils.getAllInterfaces(service)[0]);
        rmiServiceExporter.setRegistryPort(1199);
        rmiServiceExporter.afterPropertiesSet();
        return rmiServiceExporter;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.