@Component @Scope(value="prototype") public class WsManDetector extends SyncAbstractDetector implements org.springframework.beans.factory.InitializingBean, PersistsAgentInfo
Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Modifier | Constructor and Description |
---|---|
protected |
WsManDetector() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
void |
dispose()
dispose
|
boolean |
getUpdateAssets() |
boolean |
isServiceDetected(InetAddress address)
isServiceDetected
|
protected void |
onInit()
onInit
|
void |
persistAgentInfo(Integer nodeId,
InetAddress address) |
void |
setUpdateAssets(boolean updateAssets) |
getIpMatch, getPort, getRetries, getServiceName, getTimeout, init, setIpMatch, setPort, setRetries, setServiceName, setTimeout
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIpMatch, getPort, getServiceName, getTimeout, init, setIpMatch, setPort, setServiceName, setTimeout
public boolean isServiceDetected(InetAddress address)
SyncAbstractDetector
isServiceDetected
isServiceDetected
in interface SyncServiceDetector
isServiceDetected
in class SyncAbstractDetector
address
- a InetAddress
object.@Transactional public void persistAgentInfo(Integer nodeId, InetAddress address)
persistAgentInfo
in interface PersistsAgentInfo
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
protected void onInit()
AbstractDetector
onInit
onInit
in class AbstractDetector
public void dispose()
AbstractDetector
dispose
dispose
in interface ServiceDetector
dispose
in class AbstractDetector
public void setUpdateAssets(boolean updateAssets)
public boolean getUpdateAssets()
Copyright © 2016. All rights reserved.