public class ThreadFactory implements IBBObjectFactory {
public ID createBBObjectId(Namespace namespace, String stringValue)
throws IDCreateException {
try {
return new ThreadID((PHPBBNamespace) namespace,
new URI(stringValue));
} catch (URISyntaxException e) {
throw new IDCreateException(e);
}
}