|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sling.discovery.impl.topology.connector.ConnectorRegistryImpl
@Service(value=ConnectorRegistry.class) public class ConnectorRegistryImpl
Constructor Summary | |
---|---|
ConnectorRegistryImpl()
|
Method Summary | |
---|---|
protected void |
activate(org.osgi.service.component.ComponentContext cc)
|
protected void |
deactivate()
|
Collection<TopologyConnectorClientInformation> |
listOutgoingConnectors()
Lists all outgoing topology connectors |
void |
pingOutgoingConnectors(boolean force)
ping all outgoing topology connectors |
TopologyConnectorClientInformation |
registerOutgoingConnector(ClusterViewService clusterViewService,
URL connectorUrl)
Register an outgoing topology connector using the provided endpoint url |
boolean |
unregisterOutgoingConnector(String id)
Unregister an outgoing topology connector identified by the given (connector) id |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConnectorRegistryImpl()
Method Detail |
---|
@Activate protected void activate(org.osgi.service.component.ComponentContext cc)
@Deactivate protected void deactivate()
public TopologyConnectorClientInformation registerOutgoingConnector(ClusterViewService clusterViewService, URL connectorUrl)
ConnectorRegistry
registerOutgoingConnector
in interface ConnectorRegistry
public Collection<TopologyConnectorClientInformation> listOutgoingConnectors()
ConnectorRegistry
listOutgoingConnectors
in interface ConnectorRegistry
public boolean unregisterOutgoingConnector(String id)
ConnectorRegistry
unregisterOutgoingConnector
in interface ConnectorRegistry
public void pingOutgoingConnectors(boolean force)
ConnectorRegistry
pingOutgoingConnectors
in interface ConnectorRegistry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |