|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 HabitatServicesmid - 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 HabitatServicerequest - invokation requestHabitatService.recordNewRequest(org.dbe.servent.InvokationRequest)public void importEvEService(EvEService service)
HabitatService
importEvEService in interface HabitatServiceHabitatService.importEvEService(org.dbe.eve.EvEService)public void importServiceManifest(java.lang.String smData)
public void removeEvEService(java.lang.String smid)
HabitatService
removeEvEService in interface HabitatServicesmid - serviceManifest identifier (this is the same EvEService
identifier)HabitatService.removeEvEService(java.lang.String)public SolutionSet findBestGuessSolution(SBVRDescription model)
HabitatService
findBestGuessSolution in interface HabitatServicemodel - 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.AdapterAdapter.init(org.dbe.servent.ServiceContext)public void destroy()
destroy in interface org.dbe.servent.AdapterAdapter.destroy()public org.dbe.servent.ServiceContext getServiceContext()
public java.lang.String getId()
HabitatService
getId in interface HabitatServicedeployment.propertiespublic void init(org.dbe.servent.ServentContext context)
init in interface org.dbe.servent.tools.CoreAdapterpublic void recordNewResponse(org.dbe.servent.InvokationResponse response)
HabitatService
recordNewResponse in interface HabitatServiceresponse - 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 | |||||||||