| |
|
| java.lang.Object org.objectweb.jonas.jonasadmin.test.util.JProperties
JProperties | public class JProperties (Code) | | JOnAS property accessor
author: kemlerp |
getJvmVendor | public String getJvmVendor()(Code) | | Get Jvm vendor
value of the property java.vm.specification.vendor |
getJvmVersion | public String getJvmVersion()(Code) | | Get Jvm Version
the java version |
getProperties | public Properties getProperties(String fileName) throws Exception(Code) | | Get properties from a file in resources directory.
Parameters: fileName - name of the property file with ".properties". Properties. throws: Exception - if the file is not found. |
getPropertiesEnv | public Properties getPropertiesEnv() throws Exception(Code) | | Get list environnement
JOnAS protperties throws: Exception - if list environnement cannot be got |
getRegistryProtocol | public String getRegistryProtocol()(Code) | | Get registry protocol
protocol name (jrmp, jeremie, iiop, cmi) |
getRegistryUrl | public String getRegistryUrl()(Code) | | Get registry url
url of the registry |
getServices | public String[] getServices() throws Exception(Code) | | Get services in jonas properties
A table of string with services in jonas properties throws: Exception - if properties cannot be got |
isCatalina | public boolean isCatalina() throws Exception(Code) | | Catalina in jonas properties
True if Catalina is the web service, else false throws: Exception - if property cannot be got |
isDb | public boolean isDb() throws Exception(Code) | | Db in service property
True if db is a value of service property throws: Exception - if service property cannot be got |
isDbm | public boolean isDbm() throws Exception(Code) | | Dbm in service property
True if dbm is a value of service property throws: Exception - if service property cannot be got |
isDiscovery | public boolean isDiscovery() throws Exception(Code) | | Discovery in service property
True if discovery is a value of service property throws: Exception - if service property cannot be got |
isEar | public boolean isEar() throws Exception(Code) | | Ear in service property
True if ear is a value of service property throws: Exception - if service property cannot be got |
isEjb | public boolean isEjb() throws Exception(Code) | | Ejb in service property
True if ejb is a value of service property throws: Exception - if service property cannot be got |
isJMSCollocated | public boolean isJMSCollocated() throws Exception(Code) | | JMS service location
True if it is collocated, else False throws: Exception - if property cannot be got |
isJms | public boolean isJms() throws Exception(Code) | | Jms in service property
True if jms is a value of service property throws: Exception - if service property cannot be got |
isJmx | public boolean isJmx() throws Exception(Code) | | Jmx in service property
True if Jmx is a value of service property throws: Exception - if service property cannot be got |
isJtm | public boolean isJtm() throws Exception(Code) | | Jtm in service property
True if jtm is a value of service property throws: Exception - if service property cannot be got |
isJtmRemote | public boolean isJtmRemote() throws Exception(Code) | | Jtm location
True if jtm is remote, False if it is collocated throws: Exception - if property cannot be got |
isMail | public boolean isMail() throws Exception(Code) | | Mail in service property
True if db is a value of service property throws: Exception - if service property cannot be got |
isRegistry | public boolean isRegistry() throws Exception(Code) | | Registry in service property
True if registry is a value of service property throws: Exception - if service property cannot be got |
isResource | public boolean isResource() throws Exception(Code) | | Resource in service property
True if resource is a value of service property throws: Exception - if service property cannot be got |
isSecurity | public boolean isSecurity() throws Exception(Code) | | Security in service property
True if security is a value of service property throws: Exception - if service property cannot be got |
isWeb | public boolean isWeb() throws Exception(Code) | | Web in service property
True if web is a value of service property throws: Exception - if service property cannot be got |
isWs | public boolean isWs() throws Exception(Code) | | Ws in service property
True if ws is a value of service property throws: Exception - if service property cannot be got |
searchService | public boolean searchService(String service) throws Exception(Code) | | Search a service in services
Parameters: service - The string that is searched true if there is the service in services else false throws: Exception - if services cannot be got |
|
|
|