public class ISCache extends java.lang.Object implements ISCacheMBean
ISCacheMBean
interface.Constructor and Description |
---|
ISCache(GCUBEScope scope)
Constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addFilterCriterion(Srv srv,
java.lang.String srvType,
java.lang.String critVar,
java.lang.String critVal)
Add new filtering criterion on a specific service on a given type.
|
boolean |
addFilterCriterion(java.lang.String srvClass,
java.lang.String srvName,
java.lang.String srvType,
java.lang.String critVar,
java.lang.String critVal)
Add new filtering criterion on a specific service on a given type.
|
boolean |
delAllFilterCriterion(Srv srv,
java.lang.String srvType)
Delete all filtering criteria from a specific service of a given type.
|
boolean |
delAllFilterCriterion(java.lang.String srvClass,
java.lang.String srvName,
java.lang.String srvType)
Delete all filtering criteria from a specific service of a given type.
|
boolean |
delFilterCriterion(Srv srv,
java.lang.String srvType,
java.lang.String critVar)
Delete all filtering criteria from a specific service of a given type.
|
boolean |
delFilterCriterion(java.lang.String srvClass,
java.lang.String srvName,
java.lang.String srvType,
java.lang.String critVar)
Delete all filtering criteria from a specific service of a given type.
|
java.lang.String[] |
getAllFilterCriteria(Srv srv,
java.lang.String srvType)
Get all filtering criteria from a specific service of a given type.
|
java.lang.String[] |
getAllFilterCriteria(java.lang.String srvClass,
java.lang.String srvName,
java.lang.String srvType)
Get all filtering criteria from a specific service of a given type.
|
org.apache.axis.message.addressing.EndpointReference[] |
getEPRsFor(Srv srv)
Get the running instances (array of URLs) of the specified service
|
org.apache.axis.message.addressing.EndpointReference[] |
getEPRsFor(Srv srv,
java.lang.String srvType)
Get the running instances (array of URLs) of the specified service
|
org.apache.axis.message.addressing.EndpointReference[] |
getEPRsFor(java.lang.String srvClass,
java.lang.String srvName)
Get the running instances (array of URLs) of the specified service
|
org.apache.axis.message.addressing.EndpointReference[] |
getEPRsFor(java.lang.String srvClass,
java.lang.String srvName,
java.lang.String srvType)
Get the running instances (array of URLs) of the specified service
|
SrvRegistry |
getRegistry() |
int |
getSrvNumber()
Get number of registered services
|
Srv[] |
getSrvs()
Get registered services
|
java.lang.String[] |
getSrvsStr()
Get registered services
|
void |
setRegistry(SrvRegistry registry) |
public org.apache.axis.message.addressing.EndpointReference[] getEPRsFor(Srv srv) throws java.lang.Exception
getEPRsFor
in interface ISCacheMBean
srv
- servicejava.lang.Exception
- in case of error; most probably due to the fact that the
specified service is not registered.ISCacheMBean.getEPRsFor(Srv)
public org.apache.axis.message.addressing.EndpointReference[] getEPRsFor(java.lang.String srvClass, java.lang.String srvName) throws java.lang.Exception
getEPRsFor
in interface ISCacheMBean
srvClass
- service classsrvName
- service namejava.lang.Exception
- in case of error; most probably due to the fact that the
specified service is not registered.ISCacheMBean.getEPRsFor(String, String)
public org.apache.axis.message.addressing.EndpointReference[] getEPRsFor(Srv srv, java.lang.String srvType) throws java.lang.Exception
getEPRsFor
in interface ISCacheMBean
srv
- servicesrvType
- service typejava.lang.Exception
- in case of error; most probably due to the fact that the
specified service is not registered.ISCacheMBean.getEPRsFor(Srv, String)
public org.apache.axis.message.addressing.EndpointReference[] getEPRsFor(java.lang.String srvClass, java.lang.String srvName, java.lang.String srvType) throws java.lang.Exception
getEPRsFor
in interface ISCacheMBean
srvClass
- service classsrvName
- service namesrvType
- service typejava.lang.Exception
- in case of error; most probably due to the fact that the
specified service is not registered.ISCacheMBean.getEPRsFor(String, String,
String)
public int getSrvNumber()
getSrvNumber
in interface ISCacheMBean
ISCacheMBean.getSrvNumber()
public java.lang.String[] getSrvsStr()
getSrvsStr
in interface ISCacheMBean
ISCacheMBean.getSrvsStr()
public boolean addFilterCriterion(java.lang.String srvClass, java.lang.String srvName, java.lang.String srvType, java.lang.String critVar, java.lang.String critVal) throws java.lang.Exception
addFilterCriterion
in interface ISCacheMBean
srvClass
- service classsrvName
- service namesrvType
- service typecritVar
- criterion r-valuecritVal
- criterion l-valuejava.lang.Exception
- in case of errorISCacheMBean.addFilterCriterion(String,
String, String, String, String)
public boolean addFilterCriterion(Srv srv, java.lang.String srvType, java.lang.String critVar, java.lang.String critVal) throws java.lang.Exception
addFilterCriterion
in interface ISCacheMBean
srv
- service instancesrvType
- service typecritVar
- criterion r-valuecritVal
- criterion l-valuejava.lang.Exception
- in case of errorISCacheMBean.addFilterCriterion(Srv,
String, String, String)
public boolean delAllFilterCriterion(java.lang.String srvClass, java.lang.String srvName, java.lang.String srvType) throws java.lang.Exception
delAllFilterCriterion
in interface ISCacheMBean
srvClass
- service classsrvName
- service namesrvType
- service typejava.lang.Exception
- inISCacheMBean.delAllFilterCriterion(String,
String, String)
public boolean delAllFilterCriterion(Srv srv, java.lang.String srvType) throws java.lang.Exception
delAllFilterCriterion
in interface ISCacheMBean
srv
- servicesrvType
- service typejava.lang.Exception
- in case of errorISCacheMBean.delAllFilterCriterion(Srv,
String)
public boolean delFilterCriterion(java.lang.String srvClass, java.lang.String srvName, java.lang.String srvType, java.lang.String critVar) throws java.lang.Exception
delFilterCriterion
in interface ISCacheMBean
srvClass
- service classsrvName
- service namesrvType
- service typecritVar
- criterion r-valuejava.lang.Exception
- in case of errorISCacheMBean.delFilterCriterion(String,
String, String, String)
public boolean delFilterCriterion(Srv srv, java.lang.String srvType, java.lang.String critVar) throws java.lang.Exception
delFilterCriterion
in interface ISCacheMBean
srv
- servicesrvType
- service typecritVar
- criterion r-valuejava.lang.Exception
- in case of errorISCacheMBean.delFilterCriterion(Srv,
String, String)
public java.lang.String[] getAllFilterCriteria(java.lang.String srvClass, java.lang.String srvName, java.lang.String srvType) throws java.lang.Exception
getAllFilterCriteria
in interface ISCacheMBean
srvClass
- service instancesrvName
- service namesrvType
- service typejava.lang.Exception
- in case of errorISCacheMBean.getAllFilterCriteria(String,
String, String)
public java.lang.String[] getAllFilterCriteria(Srv srv, java.lang.String srvType) throws java.lang.Exception
getAllFilterCriteria
in interface ISCacheMBean
srv
- service instancesrvType
- service typejava.lang.Exception
- in case of errorISCacheMBean.getAllFilterCriteria(Srv,
String)
public void setRegistry(SrvRegistry registry)
registry
- the registry to setpublic SrvRegistry getRegistry()