org.apache.geronimo.j2ee.j2eeobjectnames
Class J2eeContextImpl
java.lang.Object
org.apache.geronimo.j2ee.j2eeobjectnames.J2eeContextImpl
- All Implemented Interfaces:
- J2eeContext
public class J2eeContextImpl
- extends Object
- implements J2eeContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
J2eeContextImpl
public J2eeContextImpl(String domainName,
String serverName,
String applicationName,
String moduleType,
String moduleName,
String j2eeName,
String j2eeType)
newContext
public static J2eeContextImpl newContext(ObjectName source,
String moduleType)
newModuleContext
public static J2eeContextImpl newModuleContext(ObjectName source,
String moduleType)
- This method is a workaround for GERONIMO-1140 -- it's the same as the
previous one except for the offending line. If this is determined to
be a valid change in general, this can replace newContext(ObjectName, String)
However, I'm not 100% sure that it's OK to have the J2EE_NAME in two
consecutive parameters in the general case.
newModuleContextFromApplication
public static J2eeContextImpl newModuleContextFromApplication(ObjectName source,
String moduleType,
String moduleName)
newModuleContextFromApplication
public static J2eeContextImpl newModuleContextFromApplication(J2eeContext source,
String moduleType,
String moduleName)
getJ2eeDomainName
public String getJ2eeDomainName()
- Specified by:
getJ2eeDomainName
in interface J2eeContext
getJ2eeServerName
public String getJ2eeServerName()
- Specified by:
getJ2eeServerName
in interface J2eeContext
getJ2eeApplicationName
public String getJ2eeApplicationName()
- Specified by:
getJ2eeApplicationName
in interface J2eeContext
getJ2eeModuleType
public String getJ2eeModuleType()
- Specified by:
getJ2eeModuleType
in interface J2eeContext
getJ2eeModuleName
public String getJ2eeModuleName()
- Specified by:
getJ2eeModuleName
in interface J2eeContext
getJ2eeName
public String getJ2eeName()
- Specified by:
getJ2eeName
in interface J2eeContext
getJ2eeType
public String getJ2eeType()
- Specified by:
getJ2eeType
in interface J2eeContext
getJ2eeDomainName
public String getJ2eeDomainName(String override)
- Specified by:
getJ2eeDomainName
in interface J2eeContext
getJ2eeServerName
public String getJ2eeServerName(String override)
- Specified by:
getJ2eeServerName
in interface J2eeContext
getJ2eeApplicationName
public String getJ2eeApplicationName(String override)
- Specified by:
getJ2eeApplicationName
in interface J2eeContext
getJ2eeModuleType
public String getJ2eeModuleType(String override)
- Specified by:
getJ2eeModuleType
in interface J2eeContext
getJ2eeModuleName
public String getJ2eeModuleName(String override)
- Specified by:
getJ2eeModuleName
in interface J2eeContext
getJ2eeName
public String getJ2eeName(String override)
- Specified by:
getJ2eeName
in interface J2eeContext
getJ2eeType
public String getJ2eeType(String override)
- Specified by:
getJ2eeType
in interface J2eeContext
Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.