return perspectives;
}
private PerspectiveActivity getDefaultPerspectiveActivity() {
PerspectiveActivity defaultPerspective = null;
final Collection<IOCBeanDef<PerspectiveActivity>> perspectives = manager.lookupBeans( PerspectiveActivity.class );
final Iterator<IOCBeanDef<PerspectiveActivity>> perspectivesIterator = perspectives.iterator();
while ( perspectivesIterator.hasNext() ) {
final IOCBeanDef<PerspectiveActivity> perspective = perspectivesIterator.next();
final PerspectiveActivity instance = perspective.getInstance();
if ( instance.isDefault() ) {
defaultPerspective = instance;
break;
} else {
manager.destroyBean( instance );
}