Class PoolServiceInfo
- java.lang.Object
-
- jadex.platform.service.servicepool.PoolServiceInfo
-
public class PoolServiceInfo extends java.lang.ObjectInfo struct for a service in the pool.
-
-
Field Summary
Fields Modifier and Type Field Description protected CreationInfoinfoThe creation info for the worker.protected java.lang.ObjectpoolstrategyThe pool strategy.protected PublishInfopublishinfoThe publication info.protected ClassInfoservicetypeThe service interface type.protected java.lang.StringworkermodelThe worker agent model.
-
Constructor Summary
Constructors Constructor Description PoolServiceInfo()Create a new PoolServiceInfo.PoolServiceInfo(CreationInfo info, java.lang.String workermodel, java.lang.Class<?> servicetype, IPoolStrategy poolstrategy, PublishInfo publishinfo)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.Class<?> workermodel, java.lang.Class<?> servicetype)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, IResourceIdentifier rid, java.lang.Object poolstrategy, PublishInfo publishinfo, java.lang.String[] argnames, java.lang.Object[] argvals)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, PublishInfo publishinfo)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, java.lang.Object poolstrategy)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, java.lang.Object poolstrategy, PublishInfo publishinfo, java.lang.String[] argnames, java.lang.Object[] argvals)Create a new PoolServiceInfo.PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, java.lang.String[] argnames, java.lang.Object[] argvals)Create a new PoolServiceInfo.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getArguments()Get the arguments.CreationInfogetCreationInfo()Get the info.java.lang.ObjectgetPoolStrategy()Get the poolstrategy.PublishInfogetPublishInfo()Get the publish info.ClassInfogetServicetype()Get the servicetype.java.lang.StringgetWorkermodel()Get the workermodel.voidsetCreationInfo(CreationInfo info)Set the info.voidsetPoolStrategy(java.lang.Object poolstrategy)Set the pool strategy.voidsetPublishInfo(PublishInfo publishinfo)Set the publish info.voidsetServicetype(ClassInfo servicetype)Set the servicetype.voidsetWorkermodel(java.lang.String workermodel)Set the workermodel.
-
-
-
Field Detail
-
workermodel
protected java.lang.String workermodel
The worker agent model.
-
servicetype
protected ClassInfo servicetype
The service interface type.
-
poolstrategy
protected java.lang.Object poolstrategy
The pool strategy.
-
publishinfo
protected PublishInfo publishinfo
The publication info.
-
info
protected CreationInfo info
The creation info for the worker.
-
-
Constructor Detail
-
PoolServiceInfo
public PoolServiceInfo()
Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.Class<?> workermodel, java.lang.Class<?> servicetype)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, PublishInfo publishinfo)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, java.lang.Object poolstrategy)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, java.lang.String[] argnames, java.lang.Object[] argvals)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, java.lang.Object poolstrategy, PublishInfo publishinfo, java.lang.String[] argnames, java.lang.Object[] argvals)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(java.lang.String workermodel, java.lang.Class<?> servicetype, IResourceIdentifier rid, java.lang.Object poolstrategy, PublishInfo publishinfo, java.lang.String[] argnames, java.lang.Object[] argvals)Create a new PoolServiceInfo.
-
PoolServiceInfo
public PoolServiceInfo(CreationInfo info, java.lang.String workermodel, java.lang.Class<?> servicetype, IPoolStrategy poolstrategy, PublishInfo publishinfo)
Create a new PoolServiceInfo.
-
-
Method Detail
-
getWorkermodel
public java.lang.String getWorkermodel()
Get the workermodel. return The workermodel.
-
setWorkermodel
public void setWorkermodel(java.lang.String workermodel)
Set the workermodel.- Parameters:
workermodel- The workermodel to set.
-
getServicetype
public ClassInfo getServicetype()
Get the servicetype. return The servicetype.
-
setServicetype
public void setServicetype(ClassInfo servicetype)
Set the servicetype.- Parameters:
servicetype- The servicetype to set.
-
getPublishInfo
public PublishInfo getPublishInfo()
Get the publish info. return The publish info.
-
setPublishInfo
public void setPublishInfo(PublishInfo publishinfo)
Set the publish info.- Parameters:
publishinfo- The publish info to set.
-
getPoolStrategy
public java.lang.Object getPoolStrategy()
Get the poolstrategy. return The poolstrategy.
-
setPoolStrategy
public void setPoolStrategy(java.lang.Object poolstrategy)
Set the pool strategy.- Parameters:
poolstrategy- The pool strategy to set.
-
getCreationInfo
public CreationInfo getCreationInfo()
Get the info.- Returns:
- the info
-
setCreationInfo
public void setCreationInfo(CreationInfo info)
Set the info.- Parameters:
info- The info to set
-
getArguments
public java.util.Map<java.lang.String,java.lang.Object> getArguments()
Get the arguments.- Returns:
- The arguments.
-
-