throws IllegalResourceTypeException
{
boolean resourceWasAdded = true;
if ( !m_resourceClass.isAssignableFrom( resource.getClass( ) ) )
{
throw new IllegalResourceTypeException( "This home only supports resources of type "
+ m_resourceClass.getName( ) );
}
if ( m_resources == null )
{