props.append(plugin.getProperties());
addStandardProperties(props);
// allow user-class specification of either our sequence
// interface or a factory class
Seq seq;
if (Seq.class.isAssignableFrom(cls)) {
seq = (Seq) AccessController.doPrivileged(
J2DoPrivHelper.newInstanceAction(cls));
Configurations.configureInstance(seq,
_repos.getConfiguration(), props.toString());
if(_type != Seq.TYPE_DEFAULT)
seq.setType(_type);
} else if (_factory != null)
seq = _factory.toSequence(cls, props.toString());
else
throw new MetaDataException(_loc.get("not-seq-cls", _name,
cls));