// Handle prefixes must be treated as strings
// all non-repository types need integer IDs
if ("repository".equals(type))
{
if (ConfigurationManager.getProperty("handle.prefix").equals(strid))
adapter = new RepositoryAdapter(context,contextPath);
}
else
{
id = Integer.valueOf(parts[1]);
if ("item".equals(type))