|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.gcube.informationsystem.cache.ISCache
public class ISCache
Implementation of the ISCacheMBean interface.
| Constructor Summary | |
|---|---|
ISCache(GCUBEScope scope)
Constructor |
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ISCache(GCUBEScope scope)
scope - scope| Method Detail |
|---|
public Srv[] getSrvs()
Srv instances
public org.apache.axis.message.addressing.EndpointReference[] getEPRsFor(Srv srv)
throws java.lang.Exception
getEPRsFor in interface ISCacheMBeansrv - service
java.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 ISCacheMBeansrvClass - service classsrvName - service name
java.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 ISCacheMBeansrv - servicesrvType - service type
java.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 ISCacheMBeansrvClass - service classsrvName - service namesrvType - service type
java.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 ISCacheMBeanISCacheMBean.getSrvNumber()public java.lang.String[] getSrvsStr()
getSrvsStr in interface ISCacheMBeanISCacheMBean.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 ISCacheMBeansrvClass - service classsrvName - service namesrvType - service typecritVar - criterion r-valuecritVal - criterion l-value
java.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 ISCacheMBeansrv - service instancesrvType - service typecritVar - criterion r-valuecritVal - criterion l-value
java.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 ISCacheMBeansrvClass - service classsrvName - service namesrvType - service type
java.lang.Exception - inISCacheMBean.delAllFilterCriterion(String,
String, String)
public boolean delAllFilterCriterion(Srv srv,
java.lang.String srvType)
throws java.lang.Exception
delAllFilterCriterion in interface ISCacheMBeansrv - servicesrvType - service type
java.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 ISCacheMBeansrvClass - service classsrvName - service namesrvType - service typecritVar - criterion r-value
java.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 ISCacheMBeansrv - servicesrvType - service typecritVar - criterion r-value
java.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 ISCacheMBeansrvClass - service instancesrvName - service namesrvType - service type
java.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 ISCacheMBeansrv - service instancesrvType - service type
java.lang.Exception - in case of errorISCacheMBean.getAllFilterCriteria(Srv,
String)public void setRegistry(SrvRegistry registry)
registry - the registry to setpublic SrvRegistry getRegistry()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||