public class DefaultNodeProvisionService extends Object implements NodeProvisionService, org.springframework.beans.factory.InitializingBean
DefaultNodeProvisionService class.
Constructor and Description |
---|
DefaultNodeProvisionService() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
org.springframework.web.servlet.ModelAndView |
getModelAndView(javax.servlet.http.HttpServletRequest request)
getModelAndView
|
boolean |
provisionNode(String user,
String foreignSource,
String foreignId,
String nodeLabel,
String ipAddress,
String[] categories,
String snmpCommunity,
String snmpVersion,
String deviceUsername,
String devicePassword,
String enablePassword,
String accessMethod,
String autoEnable,
String noSNMP)
provisionNode
|
void |
setEventProxy(EventProxy proxy)
setEventProxy
|
void |
setForeignSourceRepository(ForeignSourceRepository repository)
setForeignSourceRepository
|
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public org.springframework.web.servlet.ModelAndView getModelAndView(javax.servlet.http.HttpServletRequest request)
getModelAndView
getModelAndView
in interface NodeProvisionService
request
- a HttpServletRequest
object.ModelAndView
object.@Transactional public boolean provisionNode(String user, String foreignSource, String foreignId, String nodeLabel, String ipAddress, String[] categories, String snmpCommunity, String snmpVersion, String deviceUsername, String devicePassword, String enablePassword, String accessMethod, String autoEnable, String noSNMP) throws NodeProvisionException
provisionNode
provisionNode
in interface NodeProvisionService
user
- a String
object.foreignSource
- a String
object.foreignId
- a String
object.nodeLabel
- a String
object.ipAddress
- a String
object.categories
- an array of String
objects.snmpCommunity
- a String
object.snmpVersion
- a String
object.deviceUsername
- a String
object.devicePassword
- a String
object.enablePassword
- a String
object.accessMethod
- a String
object.autoEnable
- a String
object.NodeProvisionException
public void setForeignSourceRepository(ForeignSourceRepository repository)
setForeignSourceRepository
repository
- a ForeignSourceRepository
object.public void setEventProxy(EventProxy proxy) throws Exception
setEventProxy
proxy
- a EventProxy
object.Exception
- if any.Copyright © 2015. All rights reserved.