{
if (ArchiveProvider.class.isAssignableFrom(innerClass))
{
try
{
ArchiveProvider archiveProvider = (ArchiveProvider)innerClass.newInstance();
InternalArchiveProvider mbean = new InternalArchiveProviderImpl(testClass, archiveProvider);
mbean.registerMBean();
return mbean;
}
catch (Exception ex)