
org.coos.messaging.impl.CldcCOContainer Maven / Gradle / Ivy
The newest version!
/**
* Copyright Telenor Objects AS
*/
package org.coos.messaging.impl;
import org.coos.messaging.COContainer;
import java.io.IOException;
import java.io.InputStream;
public class CldcCOContainer implements COContainer {
public Class loadClass(String className) throws ClassNotFoundException {
return Class.forName(className);
}
public InputStream getResource(String resourceName) throws IOException {
InputStream is;
try {
is = this.getClass().getResourceAsStream(resourceName);
if (is != null) {
return is;
}
} catch (Exception ignore) {
}
return null;
}
public Object getObject(String name) {
return null;
}
public void start() throws Exception {
}
public void stop() throws Exception {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy