|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dbe.eve.HabitatServiceImpl
public class HabitatServiceImpl
Constructor Summary | |
---|---|
HabitatServiceImpl()
Empty consturctor. |
Method Summary | |
---|---|
void |
createEvEService(java.lang.String smid,
SBVRDescription model)
Creates a new EvEService with the indicated definition. |
void |
deploy()
|
void |
destroy()
|
SolutionSet |
findBestGuessSolution(SBVRDescription model)
Find the best services that fit the indicated model. |
ServicePool |
getEvEServicePool()
|
java.lang.String |
getHomeDir()
|
java.lang.String |
getId()
Return the Identifier of this habitat |
NetworkManagerImpl |
getNetworkManager()
|
org.dbe.servent.ServentContext |
getServentContext()
|
org.dbe.servent.ServiceContext |
getServiceContext()
|
ServiceManager |
getServiceManager()
|
void |
importEvEService(EvEService service)
The send method is invoked by the local HabitatService, if the habitat thinks that a service is worth spreading to the connected habitats |
void |
importServiceManifest(java.lang.String smData)
|
void |
init(org.dbe.servent.ServentContext context)
|
void |
init(org.dbe.servent.ServiceContext context)
|
void |
recordNewRequest(org.dbe.servent.InvokationRequest request)
Record a new Request in the Habitat. |
void |
recordNewResponse(org.dbe.servent.InvokationResponse response)
Record a response for a request in the Habitat. |
void |
recordServiceUsage(org.dbe.accounting.metering.usagedata.ServiceUsageType serviceUsageType)
|
void |
removeEvEService(java.lang.String smid)
Remove an EvEService from the pool or form the monitoring services. |
void |
unDeploy()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HabitatServiceImpl()
Method Detail |
---|
public void unDeploy()
public void deploy()
public void createEvEService(java.lang.String smid, SBVRDescription model)
HabitatService
createEvEService
in interface HabitatService
smid
- serviceManifest Id of the service, as create by the Semantic Registrymodel
- The SBVR Description of the ServiceHabitatService.createEvEService(java.lang.String,
org.dbe.eve.SBVRDescription)
public void recordNewRequest(org.dbe.servent.InvokationRequest request)
HabitatService
recordNewRequest
in interface HabitatService
request
- invokation requestHabitatService.recordNewRequest(org.dbe.servent.InvokationRequest)
public void importEvEService(EvEService service)
HabitatService
importEvEService
in interface HabitatService
HabitatService.importEvEService(org.dbe.eve.EvEService)
public void importServiceManifest(java.lang.String smData)
public void removeEvEService(java.lang.String smid)
HabitatService
removeEvEService
in interface HabitatService
smid
- serviceManifest identifier (this is the same EvEService
identifier)HabitatService.removeEvEService(java.lang.String)
public SolutionSet findBestGuessSolution(SBVRDescription model)
HabitatService
findBestGuessSolution
in interface HabitatService
model
- DBVR model
HabitatService.findBestGuessSolution(org.dbe.eve.SBVRDescription)
public ServicePool getEvEServicePool()
getEvEServicePool()
public void init(org.dbe.servent.ServiceContext context)
init
in interface org.dbe.servent.Adapter
Adapter.init(org.dbe.servent.ServiceContext)
public void destroy()
destroy
in interface org.dbe.servent.Adapter
Adapter.destroy()
public org.dbe.servent.ServiceContext getServiceContext()
public java.lang.String getId()
HabitatService
getId
in interface HabitatService
deployment.properties
public void init(org.dbe.servent.ServentContext context)
init
in interface org.dbe.servent.tools.CoreAdapter
public void recordNewResponse(org.dbe.servent.InvokationResponse response)
HabitatService
recordNewResponse
in interface HabitatService
response
- invokation responsepublic NetworkManagerImpl getNetworkManager()
public org.dbe.servent.ServentContext getServentContext()
public void recordServiceUsage(org.dbe.accounting.metering.usagedata.ServiceUsageType serviceUsageType)
public java.lang.String getHomeDir()
public ServiceManager getServiceManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |