|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.core.idc.config.adapters.IdcConfigurationLoaderAdapterBase
public abstract class IdcConfigurationLoaderAdapterBase
Constructor Summary | |
---|---|
IdcConfigurationLoaderAdapterBase() |
Method Summary | |
---|---|
void |
loadConfiguration(IdcConfiguration idcConfiguration, javax.servlet.ServletConfig servletConfig) load the IdcConfiguration An example of how to get some values out of a JNDI resource on the server. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IdcConfigurationLoaderAdapterBase()
Method Detail |
---|
public void loadConfiguration(IdcConfiguration idcConfiguration, javax.servlet.ServletConfig servletConfig) throws java.lang.Exception
String serverName = System.getProperty("weblogic.Name"); InitialContext ctx = new InitialContext (); MBeanServer server = (MBeanServer)ctx.lookup("java:comp/env/jmx/runtime"); ObjectName objName = new ObjectName("com.bea:name="O___serverName___",Type=Server"); String notes = (String) server.getAttribute(objName, "Notes");
loadConfiguration
in interface IdcConfigurationLoader
idcConfiguration
- idc configuration. Set the url to the content server in hereservletConfig
- ServletConfig passed to us by our J2EE containerjava.lang.Exception
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |