org.softamis.cluster4spring.rmi
Class RmiServicePublisher<EC extends AbstractRmiServiceExporter>

java.lang.Object
  extended by org.softamis.cluster4spring.support.context.AbstractServicePublisher<EC>
      extended by org.softamis.cluster4spring.support.context.GenericServicePublisher<EC>
          extended by org.softamis.cluster4spring.rmi.RmiServicePublisher<EC>
Type Parameters:
EC - type of service exporter which is supported by publisher
All Implemented Interfaces:
java.util.EventListener, ServicePublisher, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener

public class RmiServicePublisher<EC extends AbstractRmiServiceExporter>
extends GenericServicePublisher<EC>

Service publisher used to publish services that are exported by RmiServicePublisher Actually, this class was create for convenience of defining RMI related things in Spring XML mapping. It Simply specifies correct values for requried exporter class and protocol name. Therefore, the GenericServicePublisher class could be used instead of this class (of course, with property configuration in Spring config).

Author:
Andrew Sazonov
See Also:
GenericServicePublisher

Field Summary
protected static java.lang.String PROTOCOL_NAME
           
 
Fields inherited from class org.softamis.cluster4spring.support.context.GenericServicePublisher
fServicesRegistry
 
Fields inherited from class org.softamis.cluster4spring.support.context.AbstractServicePublisher
fAutodiscoveredExporterClass, fAutodiscoveredServicesInfo, fBeanName, fCacheAutoDiscoveredServicesInfo, fContext, fExporterAcceptor, fProtocolName, fServerID, fServerType, fServiceGroup
 
Fields inherited from interface org.softamis.cluster4spring.ServicePublisher
SERVER_TYPE_DELIMITER
 
Constructor Summary
RmiServicePublisher()
           
 
Method Summary
 
Methods inherited from class org.softamis.cluster4spring.support.context.GenericServicePublisher
afterPropertiesSet, doRegisterServiceInServicesRegistry, doUnregisterServiceInServicesRegistry, getServicesRegistry, setServicesRegistry
 
Methods inherited from class org.softamis.cluster4spring.support.context.AbstractServicePublisher
collectAutoDiscoveredServices, contextClosed, contextRefreshed, createDefaultExporterAcceptor, createServiceInfos, createServiceMoniker, createServicesGroup, doGetAutoDiscoveredServices, getAutodiscoveredExporterClass, getProtocolName, getPublisherName, getServerID, getServerType, getServiceGroup, getServiceKey, isCacheAutoDiscoveredServicesInfo, onApplicationEvent, prepareServiceURL, publishService, publishServices, setApplicationContext, setBeanName, setCacheAutoDiscoveredServicesInfo, setExporterAcceptor, setServerID, setServerType, setServiceGroup, unPublishService, unPublishServices
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROTOCOL_NAME

protected static final java.lang.String PROTOCOL_NAME
See Also:
Constant Field Values
Constructor Detail

RmiServicePublisher

public RmiServicePublisher()
                    throws java.lang.Exception
Throws:
java.lang.Exception