1)
does it belong to the way how i build application (by putting the
red5.jar inside my project) or
is that common in java that some classes are missing(eclipse keep
teeling me) eg.
org.SpringFramework.core.io.supportResourcePatternResolver
and some log4j classes
log4j and spring i would supose i need to also add spring and log4j
jar´s, right, is that way uncommon?
2)
is it may possible that someone could give me an example code for
application that just
replies all SO available to the Application, i tried now a while
whithout luck.
my actual version(wherein eclipse tells me that i should remove "IScope
scope" from
this line:
~~~~~~~~
mySet = ApplicationAdapter.getSharedObjectNames(IScope scope);
~~~~~~~~
in this Code:
~~~~~~~~
package demo;
import java.util.Iterator;
import java.util.Set;
import java.lang.String;
import org.red5.server.api.IScope;
import org.red5.server.adapter.ApplicationAdapter;
public class Application extends ApplicationAdapter {
private Set<String> mySet;
public boolean appStart(IScope app) {
if (!super.appStart(scope))
return false;
return true;
}
public String getSOList()
{
mySet = getSharedObjectNames(IScope scope);//also tried with
ApllciationAdap.....getSha...
String elementList = "Elements: ";
for (Iterator it=mySet.iterator(); it.hasNext(); ) {
Object element = it.next();
elementList = elementList + "" + element.toString();
}
return elementList;
}
}
~~~~~~~~
^^ that is one of my try´s sure with many errors inside iam trying now a
while, would be nice if someone here could help me with an example code,
i dont get what to write for "IScope scope" tried the app scope and the
connection scope and serveral other things, sorry if those are stupid
questions.
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org