|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.softamis.cluster4spring.support.context.DefaultExporterAcceptor<AE,SP>
AE
- type of service exporterSP
- type of service publisherpublic class DefaultExporterAcceptor<AE extends AutoDiscoveredServiceExporter,SP extends ServicePublisher>
Simple policy that accepts all exporters which has allowsAutoDiscovering
property
set to true.
AutoDiscoveredServiceExporter
,
ServicePublisher
,
AutoDiscoveredServiceExporter.isAllowsAutoDiscovering()
Constructor Summary | |
---|---|
DefaultExporterAcceptor()
|
Method Summary | |
---|---|
boolean |
canAcceptExporterForPublishing(AE aExporter,
SP aPublisher)
Determines whether service exporter by given publisher should be published by given publisher. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultExporterAcceptor()
Method Detail |
---|
public boolean canAcceptExporterForPublishing(AE aExporter, SP aPublisher)
allowsAutoDiscovering
property set to true.
canAcceptExporterForPublishing
in interface ExporterAcceptor<AE extends AutoDiscoveredServiceExporter,SP extends ServicePublisher>
aExporter
- exporteraPublisher
- publisher that publishes services
true
if publisher should publish service exported by exporter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |